From 21668c657d030fa88f66087477d3cb38ec7983a6 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Fri, 5 Jan 2024 15:29:15 +0100 Subject: [PATCH] zprofile: Add --hidden to rg version of FZF_CMD Even though it is added already through .config/ripgrep/config, to make it more consistent with the fd version. --- .config/zsh/.zprofile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 8799b57..b017af2 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -112,7 +112,7 @@ export FZF_DEFAULT_COMMAND_FALLBACK if (( $+commands[fd] )); then FZF_DEFAULT_COMMAND="fd -L --hidden --type f" elif (( $+commands[rg] )); then - FZF_DEFAULT_COMMAND="rg -L --files" + FZF_DEFAULT_COMMAND="rg -L --hidden --files" else # Fallback to hardcoding the most important paths to prune FZF_DEFAULT_COMMAND="$FZF_DEFAULT_COMMAND_FALLBACK"