diff options
author | Starfall <us@starfall.systems> | 2020-07-18 23:49:07 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2020-07-22 14:36:08 -0500 |
commit | 30c9f1d24891ccf1f6da8c0d491b5ff9deeecfd1 (patch) | |
tree | a26f210d2f0941411d8c075d5eb34803a877b882 /.config/zsh/.zshrc | |
parent | 54e56b4067b1cadd280c2917ab2784a86e4a2b93 (diff) |
zsh: add fzf bindings
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r-- | .config/zsh/.zshrc | 8 |
1 files changed, 8 insertions, 0 deletions
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" |