zsh, fish: replace exa with eza
This commit is contained in:
parent
effa97aee2
commit
4ffd2b4cb9
2 changed files with 3 additions and 7 deletions
|
@ -1,7 +1,3 @@
|
||||||
function ls
|
function ls
|
||||||
set -l i
|
command eza --icons --group-directories-first $argv
|
||||||
if test -n "$WEZTERM_PANE"
|
|
||||||
set i '--icons'
|
|
||||||
end
|
|
||||||
command exa $i --group-directories-first $argv
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -77,8 +77,8 @@ else
|
||||||
gdf() { gdiff $@ }
|
gdf() { gdiff $@ }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if testbin exa; then
|
if testbin eza; then
|
||||||
ls() { command exa --group-directories-first $@ }
|
ls() { command eza --icons --group-directories-first $@ }
|
||||||
ll() { ls -alg $@ }
|
ll() { ls -alg $@ }
|
||||||
ld() { ls -dlg $@ }
|
ld() { ls -dlg $@ }
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue