mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
usr/bin/byobu-launcher: allow user to add custom screen arguments to
byobu-launcher (useful in .profile for adding an option like -UDR), LP: #578373
This commit is contained in:
parent
1bacc8d3c9
commit
ddd43c8f0e
2 changed files with 5 additions and 2 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -6,6 +6,9 @@ byobu (2.75) UNRELEASED; urgency=low
|
||||||
without setting lang to english, LP: #578792
|
without setting lang to english, LP: #578792
|
||||||
* byobu-launcher-uninstall: create the directory, in case this script is
|
* byobu-launcher-uninstall: create the directory, in case this script is
|
||||||
executed before byobu actually runs, LP: #580384
|
executed before byobu actually runs, LP: #580384
|
||||||
|
* usr/bin/byobu-launcher: allow user to add custom screen arguments to
|
||||||
|
byobu-launcher (useful in .profile for adding an option like -UDR),
|
||||||
|
LP: #578373
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 15 May 2010 15:32:30 -0400
|
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 15 May 2010 15:32:30 -0400
|
||||||
|
|
||||||
|
|
|
@ -22,10 +22,10 @@ if [ ! -r "$HOME/.byobu/disable-autolaunch" ]; then
|
||||||
printf "$(gettext 'Do you want to launch byobu in a nested session?') [y/N]: "
|
printf "$(gettext 'Do you want to launch byobu in a nested session?') [y/N]: "
|
||||||
answer=$(head -n1)
|
answer=$(head -n1)
|
||||||
if [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then
|
if [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then
|
||||||
exec /usr/bin/byobu
|
exec /usr/bin/byobu "$@"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
exec /usr/bin/byobu
|
exec /usr/bin/byobu "$@"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
false
|
false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue