mirror of
https://github.com/dustinkirkland/byobu
synced 2025-07-05 20:42:10 -07:00
need a -l login shell to source profiles and colorize PS1
This commit is contained in:
parent
26528f1998
commit
4a2ebccb62
2 changed files with 6 additions and 2 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -3,8 +3,10 @@ byobu (6.5) unreleased; urgency=medium
|
|||
* usr/share/byobu/profiles/bashrc:
|
||||
- drop debian chroot from wolfi ps1
|
||||
- drastically simplify the conditional logic
|
||||
* usr/bin/byobu-shell.in:
|
||||
- need a -l login shell to source profiles and colorize PS1
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 09 Jan 2024 07:22:34 -0600
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 09 Jan 2024 07:24:53 -0600
|
||||
|
||||
byobu (6.4) released; urgency=medium
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@ if [ ! -e "$FLAG" ]; then
|
|||
touch "$FLAG"
|
||||
fi
|
||||
|
||||
[ -n "$SHELL" -a -x "$SHELL" ] && exec "$SHELL" || exec /bin/sh
|
||||
# This needs to be a -l login shell, in order to source profiles
|
||||
# and colorize the prompt
|
||||
[ -n "$SHELL" -a -x "$SHELL" ] && exec "$SHELL" -l || exec /bin/sh -l
|
||||
|
||||
# vi: syntax=sh ts=4 noexpandtab
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue