From 05efd30c073234951b634ec888523f407d1d4304 Mon Sep 17 00:00:00 2001 From: xyz Date: Mon, 31 May 2021 20:06:00 -0700 Subject: fzf --- .bash_profile | 1 + .bashrc | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.bash_profile b/.bash_profile index fef1368d..4b2f7849 100644 --- a/.bash_profile +++ b/.bash_profile @@ -14,6 +14,7 @@ export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc" #export QT_QPA_PLATFORMTHEME=qt5ct export QT_STYLE_OVERRIDE=kvantum export PATH="$(find ~/.local/bin -type d -printf %p:)$PATH" +export FZF_DEFAULT_COMMAND="fd --hidden --follow --exclude .git" # startx when login, should be put after environmental variables for .xinitrc to use if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then diff --git a/.bashrc b/.bashrc index 47f2fd95..48a2b28e 100644 --- a/.bashrc +++ b/.bashrc @@ -5,6 +5,9 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return +source /usr/share/fzf/completion.bash +source /usr/share/fzf/key-bindings.bash + # default PS1 #PS1='[\u@\h \W]\$ ' -- cgit v1.2.3-70-g09d2