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.
This commit is contained in:
2024-01-05 15:29:15 +01:00
parent c0fdb36c8e
commit 21668c657d

View File

@@ -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"