elvish_config/aliases/ls.elv

15 lines
444 B
Plaintext
Raw Normal View History

fn -ls [@argv]{
e:ls -N --color=auto --group-directories-first --ignore=lost+found '--time-style=+"%Y.%m.%d %H:%M"' --indicator-style=classify $@argv
}
fn -go-ls [@argv]{
e:go-ls --group-directories-first -T '+%Y.%m.%d %H:%M' --git $@argv
}
local:cmd = $-go-ls~
edit:add-var ls~ [@argv]{ $cmd $@argv }
edit:add-var la~ [@argv]{ $cmd -a $@argv }
edit:add-var ll~ [@argv]{ $cmd -lh $@argv }
edit:add-var lla~ [@argv]{ $cmd -lha $@argv }