diff options
| -rw-r--r-- | runcoms/zshrc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runcoms/zshrc b/runcoms/zshrc index cf1c248..5f0ed81 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -55,7 +55,11 @@ export FZF_DEFAULT_OPTS='--preview ''bat --style=numbers --color=always {} | hea if [[ -s "/opt/homebrew/bin/brew" ]]; then export FZF_VIM_PATH=/opt/homebrew/opt/fzf else - export FZF_VIM_PATH=/usr/local/opt/fzf + if [[ -s "/opt/homebrew/bin/brew" ]]; then + export FZF_VIM_PATH=/usr/local/opt/fzf + else + export FZF_VIM_PATH=/usr/share/doc/fzf/examples + fi fi ################################################################################ |