From e46ebe074e27733b60c25b29404c04ff46183ddb Mon Sep 17 00:00:00 2001 From: vladislav doster <10052309+vladdoster@users.noreply.github.com> Date: Tue, 6 Feb 2024 02:44:05 -0600 Subject: [PATCH] feat: check for `eza` for LIST_COMMAND option The `exa` project is unmaintained and development moved the `eza` fork, but as of 1707207983, `eza` does not release prebuilt macOS binaries unlike `exa`. To avoid unnecessarily breaking user configurations, `exa` has not been removed. --- zinit.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zinit.zsh b/zinit.zsh index 387f35fb9..8d8fed214 100644 --- a/zinit.zsh +++ b/zinit.zsh @@ -65,6 +65,8 @@ fi if [[ -z ${ZINIT[LIST_COMMAND]} ]]; then if (( ${+commands[exa]} )); then ZINIT[LIST_COMMAND]='exa --color=always --tree --icons -L3' + elif (( ${+commands[eza]} )); then + ZINIT[LIST_COMMAND]='eza --color=always --tree --icons -L3' elif (( ${+commands[tree]} )); then ZINIT[LIST_COMMAND]='tree -L 3 -C --charset utf-8' else