From 406c0a5d6a27d3492ebef33222ef5b4f138a04e1 Mon Sep 17 00:00:00 2001 From: Tri Vo Khac <33442340+vokhactri@users.noreply.github.com> Date: Thu, 4 Jul 2024 23:03:54 +0700 Subject: [PATCH] feat: add fzf tab plugin --- zsh/.config/zsh/.zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 277222c..e55e9dd 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -5,6 +5,7 @@ source $ZDOTDIR/zinit.zsh zinit wait lucid light-mode for \ wintermi/zsh-brew \ hlissner/zsh-autopair \ + Aloxaf/fzf-tab \ atinit"zicompinit; zicdreplay -q" \ zdharma-continuum/fast-syntax-highlighting zap-zsh/supercharge \ atload"_zsh_autosuggest_start" \ @@ -31,4 +32,7 @@ zinit as"command" wait lucid light-mode from"gh-r" for \ ajeetdsouza/zoxide \ atclone"./fzf --zsh > init.zsh" atpull="%atclone" src"init.zsh" \ junegunn/fzf \ - atclone"./fnm env --use-on-cd > init.zsh" atpull"%atclone" src"init.zsh" Schniz/fnm \ No newline at end of file + 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'