Hacker News new | ask | show | jobs
by EpicDavi 4129 days ago
I am using it right now and it is great! My only complaint is that it is a lot easier to type `ls` than `exa` :) (all the letters are on different key rows with the same hand)
2 comments

If `e` isn't already used by another command or function in your environment, you could do something like this in .bashrc, .zshrc, or wherever you put your aliases:

    alias e='exa -1'
    alias ea='exa -a1'
    alias ee='exa -hla'
Note, that's a number "1" in the first two, and -h here includes the headers, which is different from ls -h, which exa appears to do by default. Other than the one entry per line printing, it's similar to the ubuntu default aliases for ls.
Just symlink it as 'ls' and put it in your path :-)