eza
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
function tree
|
||||
command tree -C --dirsfirst $argv
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user