diff options
author | xyz <gky44px1999@gmail.com> | 2021-05-31 20:06:00 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-05-31 20:06:00 -0700 |
commit | 05efd30c073234951b634ec888523f407d1d4304 (patch) | |
tree | a38b6d1b3445fed9ae891415bbea6024c3b2a53e | |
parent | 1b7ede16673b80983747f35a118ce68a0b93d9d0 (diff) |
fzf
-rw-r--r-- | .bash_profile | 1 | ||||
-rw-r--r-- | .bashrc | 3 |
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 @@ -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]\$ ' |