Don't start screen on ttys anymore.
This commit is contained in:
parent
eeceeb585e
commit
902741147b
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
|
||||
0)
|
||||
# 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)
|
||||
# Just one screen - reconnect if it's not dead.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue