Don't start screen on ttys anymore.

This commit is contained in:
Darren 'Tadgy' Austin 2023-11-03 23:39:59 +00:00
commit 902741147b

View file

@ -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.