Browse Source

Use ripgrep for fzf completion

coc
Schneider 6 years ago
parent
commit
47888fe8f4
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 3
      zsh/custom.zsh

3
zsh/custom.zsh

@ -33,6 +33,9 @@ if type rg > /dev/null; then
# Use ripgrep instead of find and exclude .gitignored files
export FZF_DEFAULT_COMMAND='rg --files'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
_fzf_compgen_path() {
rg --files "$1"
}
fi
swth()

Loading…
Cancel
Save