by mavhc · 9y ago · 0 comments
I don't think it's too much of an ask for people to define their own aliases for it, though. The overlap between people who install custom command-line tools and people who know how to edit their shell config can't be small.
alias asd=exa
I already have alias h=ls
alias hh='ls -l'
alias lrt='ls -lrt'
alias lrta='ls -lrta'
(The first two because I use Dvorak, in which case I'd use 'aoe' instead of 'asd'.)"gf" for example would be better. neighbor characters on the keyboard, could stand for get files.
things that can't be typed w/o moving your fingers from the home row are really easy to type.
Also I've noticed terminal emulators (like terminator) recognize output and sprinkle in formatting on the display.
iirc, if your terminal emulator is doing something funny with the output of `ls` it's because they've re-implemented it as a function and are intercepting the call to ls and running their function instead, not because they're recognizing the output.
But yeah, alias ls=exa also works.
It's top row, bottom row, middle row, and the 'x' on a normal keyboard is half way to being directly under the 'e'. Very awkward and antithetical to the ideas of people who have designed keyboard layouts specifically for efficiency and ergonomics.
The only demographic that comes to mind which would find that hand position "natural" would be guitarists and other string players.
export pls=exa