|
|
@ -20,7 +20,8 @@ unset min_zsh_version |
|
|
|
# zprezto convenience updater |
|
|
|
# zprezto convenience updater |
|
|
|
# The function is surrounded by ( ) instead of { } so it starts in a subshell |
|
|
|
# The function is surrounded by ( ) instead of { } so it starts in a subshell |
|
|
|
# and won't affect the environment of the calling shell |
|
|
|
# and won't affect the environment of the calling shell |
|
|
|
function zprezto-update () ( |
|
|
|
function zprezto-update { |
|
|
|
|
|
|
|
( |
|
|
|
function cannot-fast-forward { |
|
|
|
function cannot-fast-forward { |
|
|
|
local STATUS="$1" |
|
|
|
local STATUS="$1" |
|
|
|
[[ -n "${STATUS}" ]] && printf "%s\n" "${STATUS}" |
|
|
|
[[ -n "${STATUS}" ]] && printf "%s\n" "${STATUS}" |
|
|
@ -63,6 +64,7 @@ function zprezto-update () ( |
|
|
|
fi |
|
|
|
fi |
|
|
|
return 1 |
|
|
|
return 1 |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
# |
|
|
|
# |
|
|
|
# Module Loader |
|
|
|
# Module Loader |
|
|
|
# |
|
|
|
# |
|
|
|