Don't start screen on ttys anymore.
This commit is contained in:
parent
6de2987c41
commit
e5c9fd0a0c
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,9 @@ hash screen >/dev/null 2>&1 && {
|
||||||
case "$(echo "${SCREENS:--n}" | wc -l)" in
|
case "$(echo "${SCREENS:--n}" | wc -l)" in
|
||||||
0)
|
0)
|
||||||
# No screens found - start a new instance if on a tty.
|
# No screens found - start a new instance if on a tty.
|
||||||
[[ "$TTY" == tty* ]] && screen
|
# Disabled this because screens should be started on chuckie not the desktop/laptop.
|
||||||
|
# [[ "$TTY" == tty* ]] && screen
|
||||||
|
:
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
# Just one screen - reconnect if it's not dead.
|
# Just one screen - reconnect if it's not dead.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue