feat: auto-install fzf
This commit is contained in:
parent
c2e25da128
commit
646bafb8d5
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user