Dotfiles/shells/zsh/oh-my-zsh-custom/fzf.zsh
Jonathan Hodgson 796ba209bf Adds fzf config
2019-08-19 08:46:46 +01:00

8 lines
363 B
Bash

# 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