chore(zsh): add fzf plugin for Antigen

This commit is contained in:
Stefan Imhoff
2021-12-12 16:01:09 +01:00
parent 4c1dab9819
commit b81ae36274

7
zshrc
View File

@@ -25,9 +25,6 @@ BASE16_SHELL="$HOME/.config/base16-shell/"
# FD # FD
FD_OPTIONS="--follow --exclude .git --exclude node_modules" FD_OPTIONS="--follow --exclude .git --exclude node_modules"
# FZF
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export FZF_DEFAULT_COMMAND="git ls-files --cached --others --exclude-standard | fd --hidden --type f --type l $FD_OPTIONS" export FZF_DEFAULT_COMMAND="git ls-files --cached --others --exclude-standard | fd --hidden --type f --type l $FD_OPTIONS"
export FZF_DEFAULT_OPTS='--no-height' export FZF_DEFAULT_OPTS='--no-height'
@@ -62,6 +59,9 @@ export BAT_PAGER="less -R"
# Starship # Starship
eval "$(starship init zsh)" eval "$(starship init zsh)"
# FZF
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# Path # Path
path=( path=(
$HOME/.dotfiles/bin $HOME/.dotfiles/bin
@@ -365,6 +365,7 @@ antigen bundle colorize
antigen bundle docker antigen bundle docker
antigen bundle dotenv antigen bundle dotenv
antigen bundle extract antigen bundle extract
antigen bundle fzf
antigen bundle gem antigen bundle gem
antigen bundle git antigen bundle git
antigen bundle git-extras antigen bundle git-extras