1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 20:41:44 +00:00

Simplified option variables for greater flexibility.

This commit is contained in:
Sorin Ionescu
2011-09-05 15:39:37 -04:00
parent 8619dd28bc
commit 05c94e2dd5
10 changed files with 25 additions and 25 deletions

View File

@ -11,7 +11,7 @@ alias sn="screen -U -S"
alias sr="screen -a -A -U -D -R"
# Auto
if (( $SHLVL == 1 )) && ! check-bool "$DISABLE_AUTO_SCREEN"; then
if (( $SHLVL == 1 )) && check-bool "$AUTO_SCREEN"; then
(( SHLVL += 1 )) && export SHLVL
session="$(screen -list 2> /dev/null | sed '1d;$d' | awk '{print $1}' | head -1)"
if [[ -n "$session" ]]; then