diff --git a/zsh-autotmux/.zsh/99-autotmux.zsh b/zsh-autotmux/.zsh/99-autotmux.zsh index 3104bf4..0576aa6 100644 --- a/zsh-autotmux/.zsh/99-autotmux.zsh +++ b/zsh-autotmux/.zsh/99-autotmux.zsh @@ -1,3 +1,4 @@ +# Auto tmux if [ -z "$TMUX" ]; then if which tmux >/dev/null 2>&1; then tmux -q has-session && exec tmux attach-session -d || exec tmux new-session -c ${TMUX_SHELL:-/bin/sh}