1
0
Fork 0
mirror of synced 2024-11-26 09:15:34 -05:00

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:
Eric Nielsen 2020-01-13 15:00:09 -05:00
parent be2be83560
commit 7fdf65c58f
No known key found for this signature in database
GPG key ID: 47D1DBFA0765A1FB
2 changed files with 3 additions and 3 deletions

View file

@ -77,7 +77,7 @@ Options:
upgrade)
_zimfw_upgrade || return 1
(( _zprintlevel-- ))
_zimfw_build_login_init && _zimfw_compile
_zimfw_compile
;;
version) print -PR ${_zversion} ;;
*)

View file

@ -259,7 +259,7 @@ _zimfw_compile() {
}
_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 'Zsh version: '${ZSH_VERSION}
print -R 'System info: '$(command uname -a)
@ -458,7 +458,7 @@ fi
upgrade)
_zimfw_upgrade || return 1
(( _zprintlevel-- ))
_zimfw_build_login_init && _zimfw_compile
_zimfw_compile
;;
version) print -PR ${_zversion} ;;
*)