Load fzf environment file from XDG dir instead of polluting ~ with it
This commit is contained in:
parent
b4c985eac8
commit
cd76ada62a
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
#! zsh
|
#! zsh
|
||||||
if [[ -f ~/.fzf.zsh ]]; then
|
if [[ -f $XDG_DATA_HOME/zsh/fzf.zsh ]]; then
|
||||||
export FZF_CTRL_R_OPTS="--sort"
|
export FZF_CTRL_R_OPTS="--sort"
|
||||||
source ~/.fzf.zsh
|
source $XDG_DATA_HOME/zsh/fzf.zsh
|
||||||
else
|
else
|
||||||
bindkey '^R' history-incremental-search-backward
|
bindkey '^R' history-incremental-search-backward
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue