diff --git a/roles/fzf/.zsh.d/fzf.zshrc.env b/roles/fzf/.zsh.d/fzf.zshrc.env index 1aab0d5..0ba606d 100644 --- a/roles/fzf/.zsh.d/fzf.zshrc.env +++ b/roles/fzf/.zsh.d/fzf.zshrc.env @@ -1,2 +1,3 @@ export FZF_DEFAULT_OPTS="-0 --inline-info --cycle" - +export FZF_DEFAULT_COMMAND='rg --files --hidden --follow --glob "!.git"' +export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" diff --git a/roles/fzf/dependencies b/roles/fzf/dependencies index 2ce8188..5d3bd65 100644 --- a/roles/fzf/dependencies +++ b/roles/fzf/dependencies @@ -1,2 +1,3 @@ homebrew git +ripgrep