Skip to content

Commit

Permalink
Replace exa with eza (#301)
Browse files Browse the repository at this point in the history
Exa is deprecated and replaced with eza. See ogham/exa#1243
  • Loading branch information
MathPlayer committed Feb 22, 2024
1 parent ea12205 commit 07203d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/man/zi.1
Expand Up @@ -408,7 +408,7 @@ zi creinstall %HOME/my_completions
.RS 2
.nf
# For GNU ls (the binaries can be gls, gdircolors, e.g. on OS X when installing the
# coreutils package from Homebrew; you can also use https://github.com/ogham/exa)
# coreutils package from Homebrew; you can also use https://github.com/eza-community/eza)
zi ice atclone"dircolors -b LS_COLORS > c.zsh" atpull'%atclone' pick"c.zsh" nocompile'!'
zi light trapd00r/LS_COLORS
.fi
Expand Down
4 changes: 2 additions & 2 deletions lib/zsh/autoload.zsh
Expand Up @@ -2865,8 +2865,8 @@ EOF
.zi-ls() {
if (( ${+commands[tree]} )); then
ZI[TREE]="${commands[tree]} -L 3 -C --charset utf-8"
elif (( ${+commands[exa]} )); then
ZI[TREE]="${commands[exa]} --color=always -T -l -L3"
elif (( ${+commands[eza]} )); then
ZI[TREE]="${commands[eza]} --color=always -T -l -L3"
else
builtin print "${ZI[col-error]}No \`tree' program, it is required by the subcommand \`ls\'${ZI[col-rst]}"
builtin print "Download from: http://mama.indstate.edu/users/ice/tree/"
Expand Down

0 comments on commit 07203d4

Please sign in to comment.