Check if omz is available first

This commit is contained in:
Alexander Hess 2024-07-03 08:24:46 +02:00
parent 9ae6cebc17
commit 16cde0d3d6
Signed by: alexander
GPG key ID: 344EA5AB10D868E0

View file

@ -66,6 +66,8 @@ setopt INC_APPEND_HISTORY
# Initialize oh-my-zsh's plugins # Initialize oh-my-zsh's plugins
if [ -r "$ZSH/oh-my-zsh.sh" ]; then
plugins=( plugins=(
command-not-found command-not-found
dirhistory dirhistory
@ -80,6 +82,7 @@ plugins=(
source "$ZSH/oh-my-zsh.sh" source "$ZSH/oh-my-zsh.sh"
fi
# Initialize zplug's plugins # Initialize zplug's plugins