feat: add fzf tab plugin

This commit is contained in:
Tri Vo Khac committed 2024-07-04 23:03:54 +07:00
1 parent 31b2255fbe
commit 406c0a5d6a
1 file changed
+4
+4
View File
@@ -5,6 +5,7 @@ source $ZDOTDIR/zinit.zsh
zinit wait lucid light-mode for \ zinit wait lucid light-mode for \
wintermi/zsh-brew \ wintermi/zsh-brew \
hlissner/zsh-autopair \ hlissner/zsh-autopair \
Aloxaf/fzf-tab \
atinit"zicompinit; zicdreplay -q" \ atinit"zicompinit; zicdreplay -q" \
zdharma-continuum/fast-syntax-highlighting zap-zsh/supercharge \ zdharma-continuum/fast-syntax-highlighting zap-zsh/supercharge \
atload"_zsh_autosuggest_start" \ atload"_zsh_autosuggest_start" \
@@ -32,3 +33,6 @@ zinit as"command" wait lucid light-mode from"gh-r" for \
atclone"./fzf --zsh > init.zsh" atpull="%atclone" src"init.zsh" \ atclone"./fzf --zsh > init.zsh" atpull="%atclone" src"init.zsh" \
junegunn/fzf \ junegunn/fzf \
atclone"./fnm env --use-on-cd > init.zsh" atpull"%atclone" src"init.zsh" Schniz/fnm atclone"./fnm env --use-on-cd > init.zsh" atpull"%atclone" src"init.zsh" Schniz/fnm
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'lsd -1 --color=always --icon=always $realpath'