diff --git a/.bashrc_local.sample b/.bashrc_local.sample index 9b1aae7..5d20777 100644 --- a/.bashrc_local.sample +++ b/.bashrc_local.sample @@ -1,4 +1,4 @@ -# Launch/restore tmux command sessions -if [ -x $(which tmux) ]; then - tmux has-session && tmux -CC attach || tmux -CC +# Launch/restore screen +if [ -x $(which screen 2>/dev/null) ]; then + if [ -z "$STY" ]; then exec screen -xRR; fi fi