mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] skip plugin loading in upgrade.sh
This commit is contained in:
parent
1f97d82654
commit
8971334543
2 changed files with 4 additions and 1 deletions
|
@ -7,5 +7,6 @@ ZSH_DOTFILES="$DOTFILES_PATH/zsh"
|
|||
git pull --rebase --stat origin master
|
||||
git submodule update --init --recursive --remote --progress
|
||||
|
||||
ZPLG_SKIP_LOADING=1
|
||||
source "$ZSH_DOTFILES/plugins.zsh"
|
||||
zplg-upgrade
|
||||
|
|
|
@ -322,7 +322,9 @@ plugin() {
|
|||
fi
|
||||
done
|
||||
_zplg_debug "sourcing $script_path"
|
||||
_zplg_load "$script_path" || return "$?"
|
||||
if [[ -z "$ZPLG_SKIP_LOADING" ]]; then
|
||||
_zplg_load "$script_path" || return "$?"
|
||||
fi
|
||||
done
|
||||
done; unset load_pattern ignore_pattern script_path
|
||||
|
||||
|
|
Loading…
Reference in a new issue