mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-15 01:48:34 -07:00
Remove zsh session restart on omz update and upgrade_oh_my_zsh
This commit is contained in:
parent
7deda85f8c
commit
89400f156a
@ -208,7 +208,4 @@ function _omz::update {
|
||||
echo "LAST_EPOCH=$(( EPOCHSECONDS / 60 / 60 / 24 ))" >! "${ZSH_CACHE_DIR}/.zsh-update"
|
||||
# Remove update lock if it exists
|
||||
command rm -rf "$ZSH/log/update.lock"
|
||||
# Restart the zsh session
|
||||
_omz::log info "restarting the zsh session..."
|
||||
[[ -z "$SHELL" ]] && exec ${SHELL#-} || exec zsh
|
||||
}
|
||||
|
@ -18,9 +18,6 @@ function upgrade_oh_my_zsh() {
|
||||
echo "LAST_EPOCH=$(( EPOCHSECONDS / 60 / 60 / 24 ))" >! "${ZSH_CACHE_DIR}/.zsh-update"
|
||||
# Remove update lock if it exists
|
||||
command rm -rf "$ZSH/log/update.lock"
|
||||
# Restart the zsh session
|
||||
_omz::log info "restarting the zsh session..."
|
||||
[[ -z "$SHELL" ]] && exec ${SHELL#-} || exec zsh
|
||||
}
|
||||
|
||||
function take() {
|
||||
|
Loading…
Reference in New Issue
Block a user