1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 21:58:00 +00:00

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

This commit is contained in:
Colin Hebert 2012-03-21 08:24:03 +00:00 committed by Sorin Ionescu
parent c508d215e3
commit 17a4505a0a

View File

@ -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 \