diff --git a/_zshrc b/_zshrc index a02d09f..feca1dd 100755 --- a/_zshrc +++ b/_zshrc @@ -32,10 +32,10 @@ zle -N zle-keymap-select [ -f "$HOME/.bashrc" ] && emulate sh -c "source $HOME/.bashrc" -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh -source /usr/share/fzf/key-bindings.zsh -source /usr/share/fzf/completion.zsh +[ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] && source "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" +[ -f "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" ] && source "/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh" +[ -f "/usr/share/fzf/key-bindings.zsh" ] && source "/usr/share/fzf/key-bindings.zsh" +[ -f "/usr/share/fzf/completion.zsh" ] && source "/usr/share/fzf/completion.zsh" setopt interactivecomments setopt HIST_IGNORE_SPACE