From df5a94b1e6258d05fcd45ec257dadbdebe556dca Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 15 Sep 2023 03:16:48 -0500 Subject: [PATCH] fix(zsh): use eza instead of exa for fzf preview --- dots/.config/zsh/config/style/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.config/zsh/config/style/init.zsh b/dots/.config/zsh/config/style/init.zsh index c6e1199b..d63070dd 100644 --- a/dots/.config/zsh/config/style/init.zsh +++ b/dots/.config/zsh/config/style/init.zsh @@ -30,8 +30,8 @@ configure() { fzf-preview 'echo ${(P)word}' # Tab Completion for previewing files or directories - zstyle ':fzf-tab:complete:(mv|cat|bat|cp|rm|chmod|du|viu|nvim|ls|cd|exa):*' fzf-preview \ - '[[ -f ${realpath} ]] && bat -P --color=always --theme="Solarized (dark)" --style=header,grid,numbers,snip ${realpath} || exa -al --no-filesize --no-time --no-user --no-permissions ${realpath}' + zstyle ':fzf-tab:complete:(mv|cat|bat|cp|rm|chmod|du|viu|nvim|ls|cd|eza):*' fzf-preview \ + '[[ -f ${realpath} ]] && bat -P --color=always --theme="Solarized (dark)" --style=header,grid,numbers,snip ${realpath} || eza -al --no-filesize --no-time --no-user --no-permissions ${realpath}' ### Generic Oh My Zsh Styles ###