diff --git a/zsh/custom.zsh b/zsh/custom.zsh index cccafdf..c464261 100644 --- a/zsh/custom.zsh +++ b/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()