diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-10-31 23:14:24 +0100 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2020-11-30 15:48:46 +0100 |
commit | 889cd7acf349f1cae81c07378986157b382f7f1d (patch) | |
tree | 4990a515004db37da7f1e89c40ea5b9b92af45ba /lib/cli.zsh | |
parent | 05e2956dc61198d4767b96d97c5d10c93cedd6e3 (diff) | |
download | zsh-889cd7acf349f1cae81c07378986157b382f7f1d.tar.gz zsh-889cd7acf349f1cae81c07378986157b382f7f1d.tar.bz2 zsh-889cd7acf349f1cae81c07378986157b382f7f1d.zip |
refactor(updater): switch to Zsh execution and fix git remote detection logic
Diffstat (limited to 'lib/cli.zsh')
-rw-r--r-- | lib/cli.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cli.zsh b/lib/cli.zsh index b1478a89f..30790bec7 100644 --- a/lib/cli.zsh +++ b/lib/cli.zsh @@ -351,7 +351,7 @@ function _omz::theme::use { function _omz::update { # 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" |