add default fzf install path to zshrc
This commit is contained in:
parent
bdbf88cfa6
commit
6ada82a506
1 changed files with 6 additions and 1 deletions
7
.zshrc
7
.zshrc
|
|
@ -96,7 +96,12 @@ if [ "$(command -v fasd)" -nt "$fasd_cache" -o ! -s "$fasd_cache" ]; then
|
|||
fi
|
||||
|
||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow -g "!{.git,node_modules}/*" 2> /dev/null'
|
||||
|
||||
|
||||
[ -f /usr/share/fzf/key-bindings.zsh ] && source /usr/share/fzf/key-bindings.zsh
|
||||
[ -f /usr/share/fzf/completion.zsh ] && source /usr/share/fzf/completion.zsh
|
||||
|
||||
export FZF_DEFAULT_COMMAND='rg --files --hidden --follow -g "!{.git,node_modules}/*" 2> /dev/null'
|
||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||
#bind -x '"\C-p": vim $(fzf);'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue