From bc16774f1d50b7856212e04ad1c12bdf80fe7c02 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 19 Sep 2022 12:36:42 +0200 Subject: [PATCH] zprofile:FZF_DEFAULT_COMMAND: Follow symlinks --- .config/zsh/.zprofile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 8271b2e..2ef6065 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -92,10 +92,10 @@ export LESS if (( $+commands[rg] )); then # Prune `.git/` and everything ignored by gitignore(5) - FZF_DEFAULT_COMMAND="rg --hidden --files -g '!.git'" + FZF_DEFAULT_COMMAND="rg -L --hidden --files -g '!.git'" else # Fallback to hardcoding the most important paths to prune - FZF_DEFAULT_COMMAND="find . \(" + FZF_DEFAULT_COMMAND="find -L . \(" FZF_DEFAULT_COMMAND+=" -name '.git' -o" FZF_DEFAULT_COMMAND+=" -name '__pycache__' -o" FZF_DEFAULT_COMMAND+=" -name 'node_modules'"