zprofile: Prune __pycache__ in FZF_DEFAULT_COMMAND

This commit is contained in:
2022-09-19 12:16:31 +02:00
parent 3963df217f
commit 5cf9aa2905

View File

@@ -97,6 +97,7 @@ if (( $+commands[rg] )); then
else
FZF_DEFAULT_COMMAND="find . \("
FZF_DEFAULT_COMMAND+=" -name '.git' -o"
FZF_DEFAULT_COMMAND+=" -name '__pycache__' -o"
FZF_DEFAULT_COMMAND+=" -name 'node_modules'"
FZF_DEFAULT_COMMAND+=" \) -prune -o -type f -print"
fi