1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 15:59:04 -08:00

fix "syntax" error when ll is already aliased by the OS

This commit is contained in:
Connor Olding 2024-03-25 02:49:37 -07:00
parent eb512c1144
commit 12be2472a8

View file

@ -89,6 +89,7 @@ pl() ### @- print each argument on its own line.
{ printf '%s\n' "$@"; }
### @ ll - list files verbosely, fancily, ordered, but not recursively.
alias ll=; unalias ll # unalias without spitting an error
if has lr; then
ll() { lr -1lshGG -o tev "$@" | less; }
elif has lr.com; then # https://eaguru.guru/t/lr.com