summaryrefslogtreecommitdiff
path: root/.zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zshrc')
-rw-r--r--.zsh/zshrc/99_fzf15
1 files changed, 15 insertions, 0 deletions
diff --git a/.zsh/zshrc/99_fzf b/.zsh/zshrc/99_fzf
new file mode 100644
index 0000000..86086ee
--- /dev/null
+++ b/.zsh/zshrc/99_fzf
@@ -0,0 +1,15 @@
+# zshenv/99_fzf
+#
+# Set up fzf (https://github.com/junegunn/fzf)
+#
+# Copyright © 2022 Tobias Klauser <tklauser@distanz.ch>
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+path_append $HOME/.fzf/bin
+
+# Auto-completion
+[[ $- == *i* ]] && source "${HOME}/.fzf/shell/completion.zsh" 2> /dev/null
+
+# Key bindings
+source "${HOME}/.fzf/shell/key-bindings.zsh"