mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Simplified option variables for greater flexibility.
This commit is contained in:
parent
8619dd28bc
commit
05c94e2dd5
10 changed files with 25 additions and 25 deletions
|
|
@ -10,7 +10,7 @@ alias ta="tmux attach-session"
|
|||
alias tl="tmux list-sessions"
|
||||
|
||||
# Auto
|
||||
if (( $SHLVL == 1 )) && ! check-bool "$DISABLE_AUTO_TMUX"; then
|
||||
if (( $SHLVL == 1 )) && check-bool "$AUTO_TMUX"; then
|
||||
(( SHLVL += 1 )) && export SHLVL
|
||||
session="$(tmux list-sessions 2> /dev/null | cut -d':' -f1 | head -1)"
|
||||
if [[ -n "$session" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue