mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
support shortcuts for window list names
This commit is contained in:
parent
9581f52e18
commit
ce156bfa40
1 changed files with 4 additions and 0 deletions
|
@ -39,8 +39,12 @@ byobu-janitor --force
|
||||||
printf "\033]0;${USER}@$(hostname) - ${PKG}\007"
|
printf "\033]0;${USER}@$(hostname) - ${PKG}\007"
|
||||||
|
|
||||||
# Allow override of default window list, with BYOBU_WINDOWS environment variable
|
# Allow override of default window list, with BYOBU_WINDOWS environment variable
|
||||||
|
CUSTOM_WINDOW_SET=0
|
||||||
if [ -r "$BYOBU_WINDOWS" ]; then
|
if [ -r "$BYOBU_WINDOWS" ]; then
|
||||||
CUSTOM_WINDOW_SET=1
|
CUSTOM_WINDOW_SET=1
|
||||||
|
elif [ -r "$HOME/.$PKG/windows.$BYOBU_WINDOWS" ]; then
|
||||||
|
CUSTOM_WINDOW_SET=1
|
||||||
|
BYOBU_WINDOWS="$HOME/.$PKG/windows.$BYOBU_WINDOWS"
|
||||||
else
|
else
|
||||||
BYOBU_WINDOWS="$HOME/.$PKG/windows"
|
BYOBU_WINDOWS="$HOME/.$PKG/windows"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue