From 7fdf65c58fc290772372b7df755e6b2bc19ae930 Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Mon, 13 Jan 2020 15:00:09 -0500 Subject: [PATCH] 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. --- src/stage2/80_zimfw.zsh.erb | 2 +- zimfw.zsh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stage2/80_zimfw.zsh.erb b/src/stage2/80_zimfw.zsh.erb index 938d785..d5f7bb6 100644 --- a/src/stage2/80_zimfw.zsh.erb +++ b/src/stage2/80_zimfw.zsh.erb @@ -77,7 +77,7 @@ Options: upgrade) _zimfw_upgrade || return 1 (( _zprintlevel-- )) - _zimfw_build_login_init && _zimfw_compile + _zimfw_compile ;; version) print -PR ${_zversion} ;; *) diff --git a/zimfw.zsh b/zimfw.zsh index 90b3aa8..1f4cc73 100644 --- a/zimfw.zsh +++ b/zimfw.zsh @@ -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} ;; *)