mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu: LP: #791617
- fix "byobu -r session", zero out NAME if user has a -r
This commit is contained in:
parent
2f1f119e8f
commit
ba9c1d2e80
2 changed files with 4 additions and 2 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -5,6 +5,8 @@ byobu (4.9) unreleased; urgency=low
|
|||
- added to the byobu repository for source control, but not yet
|
||||
QA'd for release, so they're not yet installed by the makefiles
|
||||
or documented; will get to this eventually
|
||||
* usr/bin/byobu: LP: #791617
|
||||
- fix "byobu -r session", zero out NAME if user has a -r
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 01 Jun 2011 09:24:50 -0500
|
||||
|
||||
|
|
|
@ -91,9 +91,9 @@ else
|
|||
PROFILE="-c $BYOBU_PREFIX/share/$PKG/profiles/screenrc"
|
||||
fi
|
||||
NAME="-S $PKG"
|
||||
# Zero out $NAME if user has specified a -S
|
||||
# Zero out $NAME if user has specified a screen session name
|
||||
for i in "$@"; do
|
||||
case $i in -*S|-ls|-list) NAME= ;; esac
|
||||
case $i in -r|-*S|-ls|-list) NAME= ;; esac
|
||||
done
|
||||
# Now let's execute screen!
|
||||
if [ "$#" = "0" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue