Jarno Rankinen revidoval tento gist . Přejít na revizi
1 file changed, 7 insertions
terminal-tmux.sh(vytvořil soubor)
| @@ -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 | |
Novější
Starší