summaryrefslogtreecommitdiffstatshomepage
path: root/fzf/.config/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'fzf/.config/zsh')
-rw-r--r--fzf/.config/zsh/.zshrc.d/50-fzf.zsh10
1 files changed, 10 insertions, 0 deletions
diff --git a/fzf/.config/zsh/.zshrc.d/50-fzf.zsh b/fzf/.config/zsh/.zshrc.d/50-fzf.zsh
new file mode 100644
index 0000000..c026139
--- /dev/null
+++ b/fzf/.config/zsh/.zshrc.d/50-fzf.zsh
@@ -0,0 +1,10 @@
+#!/bin/zsh
+# vim: ft=sh
+
+_fzf_compgen_path() {
+ fd --hidden --follow --exclude ".git" . "$1"
+}
+
+_fzf_compgen_dir() {
+ fd --type d --hidden --follow --exclude ".git" . "$1"
+}