diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 715ff3f..d093191 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -77,7 +77,10 @@ if (( $+commands[rg] )); then # Also respect gitignores FZF_DEFAULT_COMMAND="rg --hidden --files -g '!.git'" else - FZF_DEFAULT_COMMAND="find . -name '.git' -prune -o \( -type f -a -print \)" + FZF_DEFAULT_COMMAND="find ." + FZF_DEFAULT_COMMAND+=" -name '.git' -prune -o" + FZF_DEFAULT_COMMAND+=" -name 'node_modules' -prune -o" + FZF_DEFAULT_COMMAND+=" \( -type f -a -print \)" fi export FZF_DEFAULT_COMMAND