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:
@@ -112,7 +112,7 @@ export FZF_DEFAULT_COMMAND_FALLBACK
|
|||||||
if (( $+commands[fd] )); then
|
if (( $+commands[fd] )); then
|
||||||
FZF_DEFAULT_COMMAND="fd -L --hidden --type f"
|
FZF_DEFAULT_COMMAND="fd -L --hidden --type f"
|
||||||
elif (( $+commands[rg] )); then
|
elif (( $+commands[rg] )); then
|
||||||
FZF_DEFAULT_COMMAND="rg -L --files"
|
FZF_DEFAULT_COMMAND="rg -L --hidden --files"
|
||||||
else
|
else
|
||||||
# Fallback to hardcoding the most important paths to prune
|
# Fallback to hardcoding the most important paths to prune
|
||||||
FZF_DEFAULT_COMMAND="$FZF_DEFAULT_COMMAND_FALLBACK"
|
FZF_DEFAULT_COMMAND="$FZF_DEFAULT_COMMAND_FALLBACK"
|
||||||
|
|||||||
Reference in New Issue
Block a user