tmux-plugin: SHLVL is automatically set by tmux
tmux already sets SHLVL, no need to force it
This commit is contained in:
parent
390c353f97
commit
ac437114a0
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue