diff --git a/zsh/custom.zsh b/zsh/custom.zsh index b12a4a3..c854c2b 100644 --- a/zsh/custom.zsh +++ b/zsh/custom.zsh @@ -37,9 +37,9 @@ if hash gulp 2&> /dev/null; then fi # fzf settings -if hash ag 2&> /dev/null; then - # Use ag instead of find and exclude .gitignored files - export FZF_DEFAULT_COMMAND='ag -g ""' +if hash rg 2&> /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" fi