Browse Source

[Fix #59] Do not increment SHLVL, for tmux will

master
Colin Hebert 13 years ago committed by Sorin Ionescu
parent
commit
17a4505a0a
  1. 2
      plugins/tmux/init.zsh

2
plugins/tmux/init.zsh

@ -17,8 +17,6 @@ alias tl="tmux list-sessions" @@ -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 \

Loading…
Cancel
Save