Browse Source

Change way of checking for rg

coc
Schneider 5 years ago
parent
commit
d27611583e
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 2
      zsh/custom.zsh

2
zsh/custom.zsh

@ -37,7 +37,7 @@ if hash gulp 2&> /dev/null; then
fi fi
# fzf settings # fzf settings
if hash rg 2&> /dev/null; then
if type rg > /dev/null; then
# Use ripgrep instead of find and exclude .gitignored files # Use ripgrep instead of find and exclude .gitignored files
export FZF_DEFAULT_COMMAND='rg --files' export FZF_DEFAULT_COMMAND='rg --files'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"

Loading…
Cancel
Save