Check if omz
is available first
This commit is contained in:
parent
9ae6cebc17
commit
16cde0d3d6
1 changed files with 15 additions and 12 deletions
|
@ -66,20 +66,23 @@ setopt INC_APPEND_HISTORY
|
||||||
|
|
||||||
# Initialize oh-my-zsh's plugins
|
# Initialize oh-my-zsh's plugins
|
||||||
|
|
||||||
plugins=(
|
if [ -r "$ZSH/oh-my-zsh.sh" ]; then
|
||||||
command-not-found
|
|
||||||
dirhistory
|
|
||||||
dotenv # config in ~/.zshenv; `_update_repositories` temporarily disables this
|
|
||||||
git-escape-magic
|
|
||||||
invoke # completions for invoke
|
|
||||||
jsontools
|
|
||||||
pip # completions for pip
|
|
||||||
poetry # completions for poetry
|
|
||||||
z
|
|
||||||
)
|
|
||||||
|
|
||||||
source "$ZSH/oh-my-zsh.sh"
|
plugins=(
|
||||||
|
command-not-found
|
||||||
|
dirhistory
|
||||||
|
dotenv # config in ~/.zshenv; `_update_repositories` temporarily disables this
|
||||||
|
git-escape-magic
|
||||||
|
invoke # completions for invoke
|
||||||
|
jsontools
|
||||||
|
pip # completions for pip
|
||||||
|
poetry # completions for poetry
|
||||||
|
z
|
||||||
|
)
|
||||||
|
|
||||||
|
source "$ZSH/oh-my-zsh.sh"
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Initialize zplug's plugins
|
# Initialize zplug's plugins
|
||||||
|
|
Loading…
Reference in a new issue