mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-20 13:33:23 -07:00
if we're in a busybox/ash shell, but real bash is available, use bash
+ +
This commit is contained in:
parent
03a0ccea03
commit
3f60f2527c
2 changed files with 16 additions and 2 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -1,3 +1,10 @@
|
||||||
|
byobu (6.7) unreleased; urgency=medium
|
||||||
|
|
||||||
|
* usr/bin/byobu.in:
|
||||||
|
- if we're in a busybox/ash shell, but real bash is available, use bash
|
||||||
|
|
||||||
|
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 20 Jan 2024 20:49:21 -0600
|
||||||
|
|
||||||
byobu (6.6) released; urgency=medium
|
byobu (6.6) released; urgency=medium
|
||||||
|
|
||||||
* usr/share/byobu/profiles/bashrc:
|
* usr/share/byobu/profiles/bashrc:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#
|
#
|
||||||
# byobu - wrapper script
|
# byobu - wrapper script
|
||||||
# Copyright (C) 2008-2009 Canonical Ltd.
|
# Copyright (C) 2008-2009 Canonical Ltd.
|
||||||
# Copyright (C) 2008-2014 Dustin Kirkland
|
# Copyright (C) 2008-2024 Dustin Kirkland
|
||||||
#
|
#
|
||||||
# Authors: Dustin Kirkland <kirkland@byobu.org>
|
# Authors: Dustin Kirkland <kirkland@byobu.org>
|
||||||
#
|
#
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
VERSION=5.134
|
VERSION=6.7
|
||||||
PKG="byobu"
|
PKG="byobu"
|
||||||
|
|
||||||
# All sorts of things go wrong if you don't own your $HOME dir.
|
# All sorts of things go wrong if you don't own your $HOME dir.
|
||||||
|
@ -32,6 +32,13 @@ if [ ! -O "$HOME" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If we're in a busybox/ash shell (or shell is undefined),
|
||||||
|
# and a full bash shell is available, then please let's use bash in byobu.
|
||||||
|
# Other shells are supported, but your mileage may vary...
|
||||||
|
if [ "$SHELL" = "/bin/ash" ] || [ "$SHELL" = "ash" ] || [ -z "$SHELL" ]; then
|
||||||
|
[ -x "/bin/bash" ] && export SHELL="/bin/bash"
|
||||||
|
fi
|
||||||
|
|
||||||
# Source local byobu config
|
# Source local byobu config
|
||||||
if [ -r "$HOME/.byoburc" ]; then
|
if [ -r "$HOME/.byoburc" ]; then
|
||||||
# Ensure that this configuration is usable
|
# Ensure that this configuration is usable
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue