mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-20 21:43:19 -07:00
add byobu prompt to .bashrc in Wolfi
This commit is contained in:
parent
d670c33554
commit
e9c1ff5c37
2 changed files with 8 additions and 2 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,9 +1,11 @@
|
||||||
byobu (6.6) jammy; urgency=medium
|
byobu (6.6) unreleased; urgency=medium
|
||||||
|
|
||||||
* usr/share/byobu/profiles/bashrc:
|
* usr/share/byobu/profiles/bashrc:
|
||||||
- export PS1
|
- export PS1
|
||||||
|
* usr/bin/byobu-janitor.in:
|
||||||
|
- add byobu prompt to .bashrc in Wolfi
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 16 Jan 2024 13:04:22 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 16 Jan 2024 19:14:10 -0600
|
||||||
|
|
||||||
byobu (6.5) released; urgency=medium
|
byobu (6.5) released; urgency=medium
|
||||||
|
|
||||||
|
|
|
@ -142,6 +142,10 @@ if [ "$BYOBU_DISTRO" = "Wolfi" ]; then
|
||||||
if ! (grep -qs "#byobu-prompt#$" "$HOME/.profile"); then
|
if ! (grep -qs "#byobu-prompt#$" "$HOME/.profile"); then
|
||||||
printf "[ -r $BYOBU_CONFIG_DIR/prompt ] && . $BYOBU_CONFIG_DIR/prompt #byobu-prompt#\n" >> "$HOME/.profile"
|
printf "[ -r $BYOBU_CONFIG_DIR/prompt ] && . $BYOBU_CONFIG_DIR/prompt #byobu-prompt#\n" >> "$HOME/.profile"
|
||||||
fi
|
fi
|
||||||
|
# Wolfi also has bash, which uses .bashrc
|
||||||
|
if ! (grep -qs "#byobu-prompt#$" "$HOME/.bashrc"); then
|
||||||
|
printf "[ -r $BYOBU_CONFIG_DIR/prompt ] && . $BYOBU_CONFIG_DIR/prompt #byobu-prompt#\n" >> "$HOME/.bashrc"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Affects: Upgrades from <= byobu 5.126, clear out ec2/rcs cost statuses
|
# Affects: Upgrades from <= byobu 5.126, clear out ec2/rcs cost statuses
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue