Adds fzf config
This commit is contained in:
parent
665802c3c1
commit
3b36d3429a
1 changed files with 8 additions and 0 deletions
8
shells/zsh/oh-my-zsh-custom/fzf.zsh
Normal file
8
shells/zsh/oh-my-zsh-custom/fzf.zsh
Normal file
|
@ -0,0 +1,8 @@
|
|||
# this rg command will get a list of files that are not in gitignore or similar
|
||||
export FZF_DEFAULT_COMMAND="rg --files"
|
||||
# this is the argument completeion optionm, use the same command
|
||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||
if [ -e /usr/share/fzf/key-bindings.zsh ]; then
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue