diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-06-09 19:38:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 19:38:08 +0200 |
commit | 3c777ebf1b24826363bea6bc29afa9ba038b10e8 (patch) | |
tree | 627c836c5907407a5a0708710195a026430dd988 /oh-my-zsh.sh | |
parent | a2a83be982bad4568c8311474f02de551d0c9aaa (diff) | |
download | zsh-3c777ebf1b24826363bea6bc29afa9ba038b10e8.tar.gz zsh-3c777ebf1b24826363bea6bc29afa9ba038b10e8.tar.bz2 zsh-3c777ebf1b24826363bea6bc29afa9ba038b10e8.zip |
update: refactor and fix logic in check_for_upgrade.sh (#8939)
Diffstat (limited to 'oh-my-zsh.sh')
-rw-r--r-- | oh-my-zsh.sh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh index 4025f0025..4b4191c01 100644 --- a/oh-my-zsh.sh +++ b/oh-my-zsh.sh @@ -4,11 +4,6 @@ if [[ -z "$ZSH_CACHE_DIR" ]]; then ZSH_CACHE_DIR="$ZSH/cache" fi -# Migrate .zsh-update file to $ZSH_CACHE_DIR -if [ -f ~/.zsh-update ] && [ ! -f ${ZSH_CACHE_DIR}/.zsh-update ]; then - mv ~/.zsh-update ${ZSH_CACHE_DIR}/.zsh-update -fi - # Check for updates on initial load... if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then env ZSH=$ZSH ZSH_CACHE_DIR=$ZSH_CACHE_DIR DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh -f $ZSH/tools/check_for_upgrade.sh |