fix(zsh): use eza instead of exa for fzf preview

This commit is contained in:
Price Hiller 2023-09-15 03:16:48 -05:00
parent 6fe111be02
commit df5a94b1e6
No known key found for this signature in database

View File

@ -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 ###