diff --git a/byobu b/byobu index bf8ed83a..c7f5c559 100755 --- a/byobu +++ b/byobu @@ -38,6 +38,13 @@ if [ -r "$SCREENRC" -a ! -e "$HOME/.$PKG/profile" -a ! -h "$HOME/.$PKG/profile" exit $? fi +# If the user is running byobu with some arguments, but has not selected +# their profile yet, don't bother them with profile selection at this time +if [ $# -gt 0 -a ! -h "$HOME/.$PKG/profile" ]; then + exec $SCREEN_REAL "$@" + exit $? +fi + DEFAULT_PROFILE="light" # Ensure that the user has selected a screen profile diff --git a/debian/changelog b/debian/changelog index d586f260..b5c0a4cb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,8 +6,12 @@ byobu (2.6) unreleased; urgency=low a byobu-style screen session; LP: #330322 * bin/network-*: set rate=0 when rate is negative (ie, on startup) * bin/temp-*: better support for temperature zones, LP: #380885 + * byobu: If the user is running byobu with some arguments, but has + not selected their profile yet, don't bother them with profile + selection at this time, LP: #330322 - -- Dustin Kirkland Thu, 28 May 2009 10:40:24 +0200 + + -- Dustin Kirkland Mon, 01 Jun 2009 08:22:57 -0500 byobu (2.5-0ubuntu1) karmic; urgency=low