diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-04-15 09:12:25 +0000 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2022-04-15 09:12:25 +0000 |
| commit | 071e5a5319b45799c866af9113f6d47b10d81e4e (patch) | |
| tree | 5d05c2d45ad4cdea7860f744cb8421014866373f /runcoms | |
| parent | 2a0b2b95e0568c4e6fcb61f892645fbb58343f73 (diff) | |
Adapt fzf config for linux
Diffstat (limited to 'runcoms')
| -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 ################################################################################ |