diff --git a/.fzf.zsh b/.fzf.zsh new file mode 100644 index 0000000..baed8c6 --- /dev/null +++ b/.fzf.zsh @@ -0,0 +1,16 @@ +# Setup fzf +# --------- +if [[ ! "$PATH" == */home/chawley/.fzf/bin* ]]; then + PATH="${PATH:+${PATH}:}/home/chawley/.fzf/bin" +fi + +# Ignore .git directories +export FZF_DEFAULT_COMMAND="find . \( -name .git \) -prune -o -print" + +# Auto-completion +# --------------- +source "/home/chawley/.fzf/shell/completion.zsh" + +# Key bindings +# ------------ +source "/home/chawley/.fzf/shell/key-bindings.zsh"