From d27611583e0bb19c423ba29b654081964d778e67 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Sat, 13 Jul 2019 12:33:13 +0200 Subject: [PATCH] Change way of checking for rg --- zsh/custom.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/custom.zsh b/zsh/custom.zsh index c854c2b..f26ca63 100644 --- a/zsh/custom.zsh +++ b/zsh/custom.zsh @@ -37,7 +37,7 @@ if hash gulp 2&> /dev/null; then fi # fzf settings -if hash rg 2&> /dev/null; then +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"