summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-05-10 11:55:52 +0200
committerTobias Klauser <tklauser@distanz.ch>2022-05-10 11:55:52 +0200
commit95dc37230a19b9031249a0271973fd6f26f41a38 (patch)
tree87bdb5e2a0ec916f5ead4dcffa99d8e556fd67b6
parenta33579a6671ddfdf4d16b0fa16069634913895ce (diff)
zshrc: add 99_fzf
Integration for fzf, adapted from .fzf.zsh auto-generated by fzf's install script.
-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"