aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fzf/.config/zsh/.zshrc.d/50-fzf.zsh
blob: 82e24abe7a475c16fb6acbfcc090c892bb0b751d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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"
}

if [ -r "/usr/share/fzf/completion.zsh" ]; then
	source /usr/share/fzf/completion.zsh
fi