From 0834e349fce1ee69478ed464ed0956acfd4c772a Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 26 Sep 2015 15:47:44 +0200 Subject: [PATCH] Add "fzf" plugin: "zf(1), a command-line fuzzy finder" --- plugins/fzf/fzf.zshrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 plugins/fzf/fzf.zshrc diff --git a/plugins/fzf/fzf.zshrc b/plugins/fzf/fzf.zshrc new file mode 100644 index 0000000..84fe95c --- /dev/null +++ b/plugins/fzf/fzf.zshrc @@ -0,0 +1,15 @@ +# AX-ZSH: Alex' Modular ZSH Configuration +# fzf.zshrc: Setup Git + +# Make sure that "fzf(1)" is installed +(( $+commands[fzf] )) || return + +# Search for and read in FZF ZSH integration files +for dir ( + /usr/local/opt/fzf/shell +); do + [[ -d "$dir" ]] || continue + source "$dir/completion.zsh" + source "$dir/key-bindings.zsh" + break +done -- 2.39.2