Move to screen from tmux.
This commit is contained in:
parent
9e137f37ab
commit
4ebcb39d8e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue