diff --git a/.config/zsh/config/profile/profile/env.zsh b/.config/zsh/config/profile/profile/env.zsh index 57b802f..59ae4f3 100644 --- a/.config/zsh/config/profile/profile/env.zsh +++ b/.config/zsh/config/profile/profile/env.zsh @@ -9,6 +9,10 @@ export ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=2 export ZSH_AUTOSUGGEST_STRATEGY=(history completion) ### FZF ### +if ! [[ -r "${HOME}/.fzf" ]]; then + git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf + ~/.fzf/install --key-bindings --completion + 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}"