From fa45b48ca36bf6f708e868803a5be938338ca1b6 Mon Sep 17 00:00:00 2001 From: chawley Date: Sun, 18 Feb 2024 14:37:40 -0500 Subject: [PATCH] Added .fzf.zsh --- .fzf.zsh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .fzf.zsh 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"