mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* usr/bin/byobu-launcher.in: LP: #1338260
- add some helpful information about nested sessions
This commit is contained in:
parent
c43b286e58
commit
38fa582f92
2 changed files with 7 additions and 0 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -23,6 +23,8 @@ byobu (5.95) unreleased; urgency=medium
|
||||||
* usr/bin/byobu.in: LP: #1369783
|
* usr/bin/byobu.in: LP: #1369783
|
||||||
- respect user's custom default-command and/or default-shell
|
- respect user's custom default-command and/or default-shell
|
||||||
in the first window launched
|
in the first window launched
|
||||||
|
* usr/bin/byobu-launcher.in: LP: #1338260
|
||||||
|
- add some helpful information about nested sessions
|
||||||
|
|
||||||
[ Fortunato Ventre ]
|
[ Fortunato Ventre ]
|
||||||
* usr/lib/byobu/include/constants:
|
* usr/lib/byobu/include/constants:
|
||||||
|
|
|
@ -36,9 +36,14 @@ if [ -O "$HOME" ]; then
|
||||||
# Safeguard against ssh-ing into ourself, which causes an infinite loop
|
# Safeguard against ssh-ing into ourself, which causes an infinite loop
|
||||||
exec $BYOBU_PREFIX/bin/byobu "$@"
|
exec $BYOBU_PREFIX/bin/byobu "$@"
|
||||||
else
|
else
|
||||||
|
echo "INFO: Disabling auto-launch of Byobu in this SSH connection, to avoid a potential infinite loop" 1>&2
|
||||||
|
echo "INFO: You can still run 'byobu' manually at the command line, if you know what you're doing" 1>&2
|
||||||
true
|
true
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
echo "INFO: Disabling auto-launch of Byobu in this nested session, to avoid a potential infinite loop" 1>&2
|
||||||
|
echo "INFO: You can still run 'byobu' manually at the command line, if you know what you're doing" 1>&2
|
||||||
|
echo "INFO: And you can set LC_BYOBU=1 in your environment to override this safeguard.\n" 1>&2
|
||||||
true
|
true
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue