mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -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
|
@ -142,6 +142,10 @@ if [ "$BYOBU_DISTRO" = "Wolfi" ]; then
|
|||
if ! (grep -qs "#byobu-prompt#$" "$HOME/.profile"); then
|
||||
printf "[ -r $BYOBU_CONFIG_DIR/prompt ] && . $BYOBU_CONFIG_DIR/prompt #byobu-prompt#\n" >> "$HOME/.profile"
|
||||
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
|
||||
|
||||
# Affects: Upgrades from <= byobu 5.126, clear out ec2/rcs cost statuses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue