mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
* usr/bin/byobu:
- test that there is something in the windows files
This commit is contained in:
parent
65d9b30084
commit
dd45ab8889
2 changed files with 4 additions and 3 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
||||||
byobu (4.26) unreleased; urgency=low
|
byobu (4.26) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* usr/bin/byobu:
|
||||||
|
- test that there is something in the windows files
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 04 Aug 2011 17:57:12 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 04 Aug 2011 17:57:12 -0500
|
||||||
|
|
||||||
|
|
|
@ -47,9 +47,9 @@ byobu-janitor --force
|
||||||
|
|
||||||
# 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
|
CUSTOM_WINDOW_SET=0
|
||||||
if [ -r "$BYOBU_WINDOWS" ]; then
|
if [ -s "$BYOBU_WINDOWS" ]; then
|
||||||
CUSTOM_WINDOW_SET=1
|
CUSTOM_WINDOW_SET=1
|
||||||
elif [ -r "$BYOBU_CONFIG_DIR/windows.$BYOBU_WINDOWS" ]; then
|
elif [ -s "$BYOBU_CONFIG_DIR/windows.$BYOBU_WINDOWS" ]; then
|
||||||
CUSTOM_WINDOW_SET=1
|
CUSTOM_WINDOW_SET=1
|
||||||
BYOBU_WINDOWS="$BYOBU_CONFIG_DIR/windows.$BYOBU_WINDOWS"
|
BYOBU_WINDOWS="$BYOBU_CONFIG_DIR/windows.$BYOBU_WINDOWS"
|
||||||
elif [ "$#" = "0" ]; then
|
elif [ "$#" = "0" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue