commit
a8ee759293
|
|
@ -4,7 +4,11 @@
|
||||||
cite about-plugin
|
cite about-plugin
|
||||||
about-plugin 'load fzf, if you are using it'
|
about-plugin 'load fzf, if you are using it'
|
||||||
|
|
||||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
if [ -f ~/.fzf.bash ]; then
|
||||||
|
source ~/.fzf.bash
|
||||||
|
elif [ -f "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.bash ]; then
|
||||||
|
source "${XDG_CONFIG_HOME:-$HOME/.config}"/fzf/fzf.bash
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z ${FZF_DEFAULT_COMMAND+x} ]; then
|
if [ -z ${FZF_DEFAULT_COMMAND+x} ]; then
|
||||||
command -v fd &> /dev/null && export FZF_DEFAULT_COMMAND='fd --type f'
|
command -v fd &> /dev/null && export FZF_DEFAULT_COMMAND='fd --type f'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue