mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* byobu-launcher: make sure that we're not already in a screen session
before launching or re-attaching byobu Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
006d2bab2d
commit
ba5e1bf783
2 changed files with 6 additions and 2 deletions
|
@ -19,6 +19,9 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
[ -z "$STY" ] || exit 0
|
[ -z "$STY" ] || exit 0
|
||||||
|
case "$TERM" in
|
||||||
|
*screen*) exit 0 ;;
|
||||||
|
esac
|
||||||
|
|
||||||
out=`screen -ls 2>/dev/null` || true
|
out=`screen -ls 2>/dev/null` || true
|
||||||
if echo "$out" | grep -qsi "^No Sockets found in "; then
|
if echo "$out" | grep -qsi "^No Sockets found in "; then
|
||||||
|
|
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -1,8 +1,9 @@
|
||||||
byobu (2.30) unreleased; urgency=low
|
byobu (2.30) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* byobu-launcher: make sure that we're not already in a screen session
|
||||||
|
before launching or re-attaching byobu
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 26 Aug 2009 15:35:30 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 28 Aug 2009 10:48:38 -0500
|
||||||
|
|
||||||
byobu (2.29-0ubuntu1) karmic; urgency=low
|
byobu (2.29-0ubuntu1) karmic; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue