Created
July 10, 2016 09:35
-
-
Save kateinoigakukun/2dd4c9e455b4a50160f15148cb80f517 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -z "$TMUX" ]; then | |
if $(tmux has-session); then | |
tmux a | |
else | |
tmux | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment