diff --git a/plugins/tmux/init.zsh b/plugins/tmux/init.zsh index dc45d98..ffd5738 100644 --- a/plugins/tmux/init.zsh +++ b/plugins/tmux/init.zsh @@ -17,6 +17,8 @@ alias tl="tmux list-sessions" # Auto Start if (( $SHLVL == 1 )) && zstyle -t ':omz:plugin:tmux:auto' start; then + (( SHLVL += 1 )) && export SHLVL + session="$( tmux list-sessions 2> /dev/null \ | cut -d':' -f1 \