Skip to content

Commit

Permalink
feat: check for eza for LIST_COMMAND option
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vladdoster committed Feb 6, 2024
1 parent e5bb1c5 commit e46ebe0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zinit.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e46ebe0

Please sign in to comment.