From 1fba1a6ad96bf46c55ea8fcb3955158d8404d3ef Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 12 Sep 2018 16:09:35 +0200 Subject: [PATCH] fzf: Update for new Debian package --- plugins/fzf/fzf.zshrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/fzf/fzf.zshrc b/plugins/fzf/fzf.zshrc index 799fdca..bbc1cfa 100644 --- a/plugins/fzf/fzf.zshrc +++ b/plugins/fzf/fzf.zshrc @@ -10,6 +10,13 @@ fi # Make sure that "fzf(1)" is installed (( $+commands[fzf] )) || return 1 +# Test for Debian-specific keybinding location ... +if [[ -r /usr/share/doc/fzf/examples/key-bindings.zsh ]]; then + source /usr/share/zsh/vendor-completions/_fzf + source /usr/share/doc/fzf/examples/key-bindings.zsh + return 0 +fi + # Search for and read in FZF ZSH integration files for dir ( /usr/local/lib/fzf/shell -- 2.39.2