mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-14 08:58:44 +02:00
refactor(updater): switch to Zsh execution and fix git remote detection logic
This commit is contained in:
@ -14,7 +14,7 @@ function upgrade_oh_my_zsh() {
|
||||
fi
|
||||
|
||||
# Run update script
|
||||
env ZSH="$ZSH" sh "$ZSH/tools/upgrade.sh"
|
||||
env ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh"
|
||||
# Update last updated file
|
||||
zmodload zsh/datetime
|
||||
echo "LAST_EPOCH=$(( EPOCHSECONDS / 60 / 60 / 24 ))" >! "${ZSH_CACHE_DIR}/.zsh-update"
|
||||
|
Reference in New Issue
Block a user