Updater: fix bug regarding source init in new updater logic
This commit is contained in:
parent
09b333eb41
commit
c6124d4d37
1 changed files with 1 additions and 1 deletions
2
init.zsh
2
init.zsh
|
@ -23,7 +23,7 @@ unset min_zsh_version
|
||||||
function zprezto-update () (
|
function zprezto-update () (
|
||||||
function cannot-fast-forward {
|
function cannot-fast-forward {
|
||||||
local STATUS="$1"
|
local STATUS="$1"
|
||||||
[[ "${STATUS}" ]] && printf "%s\n" "${STATUS}"
|
[[ -n "${STATUS}" ]] && printf "%s\n" "${STATUS}"
|
||||||
printf "Unable to fast-forward the changes. You can fix this by "
|
printf "Unable to fast-forward the changes. You can fix this by "
|
||||||
printf "running\ncd '%s' and then\n'git pull' " "${ZPREZTODIR}"
|
printf "running\ncd '%s' and then\n'git pull' " "${ZPREZTODIR}"
|
||||||
printf "to manually pull and possibly merge in changes\n"
|
printf "to manually pull and possibly merge in changes\n"
|
||||||
|
|
Loading…
Add table
Reference in a new issue