dotfiles/.fzf.bash

14 lines
302 B
Bash
Raw Normal View History

2021-11-13 19:24:20 +01:00
# Setup fzf
# ---------
2021-11-16 00:06:19 +01:00
if [[ ! "$PATH" == *${HOME}/.fzf/bin* ]]; then
2021-11-16 00:01:31 +01:00
export PATH="${PATH:+${PATH}:}${HOME}/.fzf/bin"
2021-11-13 19:24:20 +01:00
fi
# Auto-completion
# ---------------
2021-11-16 00:01:31 +01:00
[[ $- == *i* ]] && source "~/.fzf/shell/completion.bash" 2> /dev/null
2021-11-13 19:24:20 +01:00
# Key bindings
# ------------
2021-11-16 00:01:31 +01:00
source "~/.fzf/shell/key-bindings.bash"