1
0
Fork 0

tmux-plugin: SHLVL is automatically set by tmux

tmux already sets SHLVL, no need to force it
pull/59/head
Colin Hebert 13 years ago
parent 390c353f97
commit ac437114a0

@ -17,8 +17,6 @@ alias tl="tmux list-sessions"
# Auto Start # Auto Start
if (( $SHLVL == 1 )) && zstyle -t ':omz:plugin:tmux:auto' start; then if (( $SHLVL == 1 )) && zstyle -t ':omz:plugin:tmux:auto' start; then
(( SHLVL += 1 )) && export SHLVL
session="$( session="$(
tmux list-sessions 2> /dev/null \ tmux list-sessions 2> /dev/null \
| cut -d':' -f1 \ | cut -d':' -f1 \

Loading…
Cancel
Save