mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* byobu:
- check number of args for "1", and "-v", LP: #494465 - make more zsh friendly, don't use -c
This commit is contained in:
parent
8bd6e81161
commit
497f2d5aa4
2 changed files with 5 additions and 5 deletions
6
byobu
6
byobu
|
@ -40,13 +40,11 @@ byobu-janitor --force
|
|||
printf "\033]0;${USER}@$(hostname) - ${PKG}\007"
|
||||
|
||||
# Launch motd+shell, unless the user has default windows set to launch
|
||||
[ -x "$SHELL" ] || SHELL="/bin/sh"
|
||||
DEFAULT_WINDOW="$SHELL -c motd+shell"
|
||||
grep -qs "^[^#]" "$HOME/.$PKG/windows" && DEFAULT_WINDOW=
|
||||
grep -qs "^[^#]" "$HOME/.$PKG/windows" && DEFAULT_WINDOW= || DEFAULT_WINDOW="motd+shell"
|
||||
|
||||
# Now let's execute screen!
|
||||
if [ "$#" = "0" ]; then
|
||||
exec screen -c "/usr/share/$PKG/profiles/byoburc" $DEFAULT_WINDOW
|
||||
exec screen -c "/usr/share/$PKG/profiles/byoburc" -t shell $DEFAULT_WINDOW
|
||||
else
|
||||
exec screen -c "$HOME/.$PKG/profile" "$@"
|
||||
fi
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
byobu (2.41) unreleased; urgency=low
|
||||
|
||||
* byobu: check number of args for "1", and "-v", LP: #494465
|
||||
* byobu:
|
||||
- check number of args for "1", and "-v", LP: #494465
|
||||
- make more zsh friendly, don't use -c
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 13 Dec 2009 19:16:43 -0800
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue