From cd76ada62a865598d84b5a5e29fb421b1e147bf0 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 11 Sep 2017 09:34:46 +1000 Subject: [PATCH] Load fzf environment file from XDG dir instead of polluting ~ with it --- config/zsh/interactive/fzf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/zsh/interactive/fzf b/config/zsh/interactive/fzf index a110e76..2ad1d86 100644 --- a/config/zsh/interactive/fzf +++ b/config/zsh/interactive/fzf @@ -1,7 +1,7 @@ #! zsh -if [[ -f ~/.fzf.zsh ]]; then +if [[ -f $XDG_DATA_HOME/zsh/fzf.zsh ]]; then export FZF_CTRL_R_OPTS="--sort" - source ~/.fzf.zsh + source $XDG_DATA_HOME/zsh/fzf.zsh else bindkey '^R' history-incremental-search-backward fi