Move zsh and aliases to conf.d style configs
This commit is contained in:
10
zsh.d/fd.zsh
Normal file
10
zsh.d/fd.zsh
Normal file
@@ -0,0 +1,10 @@
|
||||
# Use fd for fzf
|
||||
if (( $+commands[fd] && $+commands[fzf] )); then
|
||||
_fzf_compgen_path() {
|
||||
fd --hidden --follow --exclude ".git" . "$1"
|
||||
}
|
||||
|
||||
_fzf_compgen_dir() {
|
||||
fd --type d --hidden --follow --exclude ".git" . "$1"
|
||||
}
|
||||
fi
|
Reference in New Issue
Block a user