1
0
Fork 0

Autocommitted updated scripts from Adversary

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

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

Loading…
Cancel
Save