mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* screen: some users gripe about the default launched window being
called "motd+shell", LP: #369397 Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
0c8104b243
commit
77871bf796
2 changed files with 6 additions and 4 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,8 +1,9 @@
|
||||||
screen-profiles (1.53) jaunty; urgency=low
|
screen-profiles (1.53) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* screen: some users gripe about the default launched window being
|
||||||
|
called "motd+shell", LP: #369397
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Apr 2009 02:33:57 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Apr 2009 15:59:51 -0500
|
||||||
|
|
||||||
screen-profiles (1.52-0ubuntu1) karmic; urgency=low
|
screen-profiles (1.52-0ubuntu1) karmic; urgency=low
|
||||||
|
|
||||||
|
|
3
screen
3
screen
|
@ -84,7 +84,8 @@ if [ "$#" = "0" ]; then
|
||||||
temp=$(mktemp screen-profiles-XXXXXXXX)
|
temp=$(mktemp screen-profiles-XXXXXXXX)
|
||||||
trap "rm -f $temp 2>/dev/null || true" EXIT HUP INT QUIT TERM
|
trap "rm -f $temp 2>/dev/null || true" EXIT HUP INT QUIT TERM
|
||||||
cat "$HOME/.screen-profiles/profile" "$HOME/.screen-profiles/windows" > "$temp"
|
cat "$HOME/.screen-profiles/profile" "$HOME/.screen-profiles/windows" > "$temp"
|
||||||
exec /usr/bin/screen.real -c "$temp" /usr/bin/motd+shell
|
[ -n "$SHELL" -a -x "$SHELL" ] || SHELL="/bin/sh"
|
||||||
|
exec /usr/bin/screen.real -c "$temp" $SHELL /usr/bin/motd+shell
|
||||||
else
|
else
|
||||||
exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" "$@"
|
exec /usr/bin/screen.real -c "$HOME/.screen-profiles/profile" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue