summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-05-31 20:06:00 -0700
committerxyz <gky44px1999@gmail.com>2021-05-31 20:06:00 -0700
commit05efd30c073234951b634ec888523f407d1d4304 (patch)
treea38b6d1b3445fed9ae891415bbea6024c3b2a53e
parent1b7ede16673b80983747f35a118ce68a0b93d9d0 (diff)
fzf
-rw-r--r--.bash_profile1
-rw-r--r--.bashrc3
2 files changed, 4 insertions, 0 deletions
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]\$ '