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,6 +66,8 @@ setopt INC_APPEND_HISTORY
|
|||
|
||||
# Initialize oh-my-zsh's plugins
|
||||
|
||||
if [ -r "$ZSH/oh-my-zsh.sh" ]; then
|
||||
|
||||
plugins=(
|
||||
command-not-found
|
||||
dirhistory
|
||||
|
@ -80,6 +82,7 @@ plugins=(
|
|||
|
||||
source "$ZSH/oh-my-zsh.sh"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
# Initialize zplug's plugins
|
||||
|
|
Loading…
Reference in a new issue