From 071e5a5319b45799c866af9113f6d47b10d81e4e Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 15 Apr 2022 09:12:25 +0000 Subject: Adapt fzf config for linux --- runcoms/zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'runcoms') 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 ################################################################################ -- cgit