From 4011aa6327cbf51d39cb219d11811f627f7bb489 Mon Sep 17 00:00:00 2001 From: xyz Date: Sun, 6 Jun 2021 21:06:47 -0700 Subject: edit fzf --- .bash_profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2