7 lines
No EOL
169 B
Fish
7 lines
No EOL
169 B
Fish
function ls --wraps exa --description "alias ls=exa --git, if installed"
|
|
if type -q exa
|
|
exa --git --icons $argv
|
|
else
|
|
command ls $argv
|
|
end
|
|
end |