From 17a4505a0afba4978e07e6065ca690efc7eb4542 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Wed, 21 Mar 2012 08:24:03 +0000 Subject: [PATCH] [Fix #59] Do not increment SHLVL, for tmux will --- 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 \