dotfiles/.chezmoitemplates/fzf-bash_linux.tmpl

14 lines
395 B
Cheetah
Raw Permalink Normal View History

2023-08-28 11:56:52 +02:00
# Setup fzf
# ---------
if [[ ! "$PATH" == */home/{{ .chezmoi.username }}/.fzf/bin* ]]; then
PATH="${PATH:+${PATH}:}/home/{{ .chezmoi.username }}/.fzf/bin"
fi
# Auto-completion
# ---------------
[[ $- == *i* ]] && source "/home/{{ .chezmoi.username }}/.fzf/shell/completion.bash" 2> /dev/null
# Key bindings
# ------------
source "/home/{{ .chezmoi.username }}/.fzf/shell/key-bindings.bash"