eza default options mapped to ls & lsl

This commit is contained in:
Marley Rae 2024-02-03 20:54:15 -08:00
parent 1464356289
commit 5d09ab4867

View file

@ -37,3 +37,16 @@ abbr -a rm --position command "rm -rf"
abbr -a grep --position command "grep --color=auto"
abbr -a fgrep --position command "fgrep --color=auto"
abbr -a egrep --position command "egrep --color=auto"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# eza.
function ls --wraps eza
eza --all --icons=auto --sort=name --group-directories-first $argv
end
function lsl --wraps eza
eza --all --icons=auto --sort=name --group-directories-first --grid --long \
--git --header $argv
end