support shortcuts for window list names

This commit is contained in:
Dustin Kirkland 2010-05-04 13:52:21 -05:00
commit ce156bfa40

View file

@ -39,8 +39,12 @@ byobu-janitor --force
printf "\033]0;${USER}@$(hostname) - ${PKG}\007"
# Allow override of default window list, with BYOBU_WINDOWS environment variable
CUSTOM_WINDOW_SET=0
if [ -r "$BYOBU_WINDOWS" ]; then
CUSTOM_WINDOW_SET=1
elif [ -r "$HOME/.$PKG/windows.$BYOBU_WINDOWS" ]; then
CUSTOM_WINDOW_SET=1
BYOBU_WINDOWS="$HOME/.$PKG/windows.$BYOBU_WINDOWS"
else
BYOBU_WINDOWS="$HOME/.$PKG/windows"
fi