feat: use xdg for fzf

This commit is contained in:
Price Hiller 2022-07-30 20:00:21 -05:00
parent c8e8a1f31c
commit f2b0f37f96

View File

@ -9,7 +9,7 @@ export ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=2
export ZSH_AUTOSUGGEST_STRATEGY=(history completion)
### FZF ###
[[ -f "${HOME}/.fzf.zsh" ]] && source "${HOME}/.fzf.zsh"
[[ -f "${HOME}/.config/fzf/fzf.zsh" ]] && source "${HOME}/.config/fzf/fzf.zsh"
export FZF_DEFAULT_COMMAND='fd --hidden --exclude .git --color=always'
export FZF_DEFAULT_OPTS="--height=80% --layout=reverse --info=inline --border --margin=1 --ansi"
export FZF_CTRL_T_COMMAND="${FZF_DEFAULT_COMMAND}"