1
0
Fork 0

Autocommitted updated scripts from Adversary

main
Marissa Staib 5 years ago
parent 3ee724cb56
commit 735d87c16b
  1. 2
      bash_tmux.sh

@ -33,7 +33,7 @@ function go_tmux ()
function auto_tmux () function auto_tmux ()
{ {
if [[ -n "$PS1" ]] && [[ "$TERM" != screen* ]] && [[ -z "$ALREADY_TRIED_STARTING_TMUX" ]]; then if [[ -t 1 ]] && [[ -t 0 ]] && [[ -t 2 ]] && [[ "$TERM" != screen* ]] && [[ -z "$ALREADY_TRIED_STARTING_TMUX" ]]; then
ALREADY_TRIED_STARTING_TMUX=true ALREADY_TRIED_STARTING_TMUX=true
echo "Switching to tmux, press Ctrl+C to cancel..."; echo "Switching to tmux, press Ctrl+C to cancel...";
sleep 1s && go_tmux -x sleep 1s && go_tmux -x

Loading…
Cancel
Save