summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash_profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile
index 17943f72..634f1844 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -15,7 +15,9 @@ export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc"
export QT_STYLE_OVERRIDE=kvantum
export PATH="$(find ~/.local/bin -type d -printf %p:)$PATH"
#export FZF_DEFAULT_COMMAND="fd --hidden --follow --exclude .git"
-export FZF_DEFAULT_COMMAND="find . -not -path './\.git/*'"
+export FZF_DEFAULT_COMMAND="sudo find . -path '*/\.git' -prune -o -print"
+export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
+export FZF_ALT_C_COMMAND="sudo find . -path '*/\.git' -prune -o -type d -print"
# startx when login, should be put after environmental variables for .xinitrc to use
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then