From 5cf9aa29057ef8a895e2aae7fdae26b96e9656b6 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 19 Sep 2022 12:16:31 +0200 Subject: [PATCH] zprofile: Prune __pycache__ in FZF_DEFAULT_COMMAND --- .config/zsh/.zprofile | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index a4e0999..7f34bc3 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -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