From ac437114a0af41b6933931c8f3772c4595bf0a81 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Wed, 21 Mar 2012 08:24:03 +0000 Subject: [PATCH] tmux-plugin: SHLVL is automatically set by tmux tmux already sets SHLVL, no need to force it --- plugins/tmux/init.zsh | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/tmux/init.zsh b/plugins/tmux/init.zsh index ffd57380..dc45d981 100644 --- a/plugins/tmux/init.zsh +++ b/plugins/tmux/init.zsh @@ -17,8 +17,6 @@ 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 \