From 30c9f1d24891ccf1f6da8c0d491b5ff9deeecfd1 Mon Sep 17 00:00:00 2001 From: Starfall Date: Sat, 18 Jul 2020 23:49:07 -0500 Subject: zsh: add fzf bindings --- .config/zsh/.zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.config/zsh/.zshrc') diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 2e73a3a..70c4286 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,3 +1,11 @@ +# plugins - fzf +# fzf is automatically picked up by /etc/profile on cygwin, but manjaro installs them here +if [[ -a /usr/share/fzf/key-bindings.zsh ]] && [[ -a /usr/share/fzf/completion.zsh ]]; then + export FZF_DEFAULT_OPTS='--no-height --no-reverse' + source /usr/share/fzf/key-bindings.zsh + source /usr/share/fzf/completion.zsh +fi + # magic cd setopt autocd export CDPATH=".:$HOME:$HOME/devil:$HOME/src" -- cgit