1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 23:01:42 +00:00

Renamed check-bool to is-true.

This commit is contained in:
Sorin Ionescu
2012-01-20 22:03:17 -05:00
parent 84ce0f42b5
commit b2fcfc684c
5 changed files with 7 additions and 7 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 "$AUTO_SCREEN"; then
if (( $SHLVL == 1 )) && is-true "$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