if [ ! -n "$TMUX" ];
then
export TERM=gnome-256color
( (tmux -2 has-session -t alex && tmux -2 attach-session -t alex) || (tmux -2 new-session -s alex) )
echo "tmux failed to start" 1>&2
fi
Created
September 6, 2014 17:51
-
-
Save alexluecke/3a81cc1e3584c3ae4d0f to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment