about summary refs log tree commit diff
path: root/.config/zsh/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r--.config/zsh/.zshrc8
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"