From d57cf7b5e0f206ec0fa2bb15ca3a47e11acac5a2 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Sat, 22 Dec 2018 19:57:48 +0100 Subject: [PATCH] Use ripgrep instead of ag with fzf --- zsh/custom.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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