Don't call _zimfw_build_login_init after upgrade
as it was being used to update the login_init.zsh script. BUT the function mentioned, which updates that script, would only be updated after zimfw.zsh is sourced again, so no point in trying to call it at this point.
This commit is contained in:
parent
be2be83560
commit
7fdf65c58f
2 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ Options:
|
||||||
upgrade)
|
upgrade)
|
||||||
_zimfw_upgrade || return 1
|
_zimfw_upgrade || return 1
|
||||||
(( _zprintlevel-- ))
|
(( _zprintlevel-- ))
|
||||||
_zimfw_build_login_init && _zimfw_compile
|
_zimfw_compile
|
||||||
;;
|
;;
|
||||||
version) print -PR ${_zversion} ;;
|
version) print -PR ${_zversion} ;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -259,7 +259,7 @@ _zimfw_compile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_zimfw_info() {
|
_zimfw_info() {
|
||||||
print -R 'Zim version: '${_zversion}' (previous commit is dab4b87)'
|
print -R 'Zim version: '${_zversion}' (previous commit is be2be83)'
|
||||||
print -R 'ZIM_HOME: '${ZIM_HOME}
|
print -R 'ZIM_HOME: '${ZIM_HOME}
|
||||||
print -R 'Zsh version: '${ZSH_VERSION}
|
print -R 'Zsh version: '${ZSH_VERSION}
|
||||||
print -R 'System info: '$(command uname -a)
|
print -R 'System info: '$(command uname -a)
|
||||||
|
@ -458,7 +458,7 @@ fi
|
||||||
upgrade)
|
upgrade)
|
||||||
_zimfw_upgrade || return 1
|
_zimfw_upgrade || return 1
|
||||||
(( _zprintlevel-- ))
|
(( _zprintlevel-- ))
|
||||||
_zimfw_build_login_init && _zimfw_compile
|
_zimfw_compile
|
||||||
;;
|
;;
|
||||||
version) print -PR ${_zversion} ;;
|
version) print -PR ${_zversion} ;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue