14 lines
280 B
Fish
14 lines
280 B
Fish
if command -q eza
|
|
function tree --wraps='eza'
|
|
command eza -T --group-directories-last $argv
|
|
end
|
|
else if command -q tree
|
|
function tree
|
|
command tree -C --filesfirst $argv
|
|
end
|
|
else
|
|
function tree
|
|
ls -l --group-directories-first
|
|
end
|
|
end
|