Jarno Rankinen revised this gist . Go to revision
1 file changed, 7 insertions
terminal-tmux.sh(file created)
@@ -0,0 +1,7 @@ | |||
1 | + | #!/bin/bash | |
2 | + | # Use this as the executable command for Gnome Terminal | |
3 | + | # Start or attach Tmux on every login | |
4 | + | ||
5 | + | if which tmux >/dev/null 2>&1; then | |
6 | + | test -z "$TMUX" && (tmux attach || tmux new-session) | |
7 | + | fi |
Newer
Older