mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
Remove zsh session restart on omz update and upgrade_oh_my_zsh
This commit is contained in:
parent
7deda85f8c
commit
89400f156a
2 changed files with 0 additions and 6 deletions
|
@ -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 a new issue