š¾ Archived View for gemini.mcgillij.dev āŗ exa-ls-replacement.gmi captured on 2024-02-05 at 09:37:28. Gemini links have been rewritten to link to archived content
ā¬ ļø Previous capture (2021-12-03)
-=-=-=-=-=-=-
:author:
mcgillij
:category:
Linux
:date:
2021-10-27 22:49
:tags:
Linux, ls, exa, #100DaysToOffload
:slug:
exa-ls-replacement
:summary:
Exa a modern ls replacement, itās pretty neat.
:cover_image:
pacman.jpg
Whats modern mean in the context of *ls*? For instance exa has colors on by default, can show git status, xattrs of files etc.
More information can be found:
It really is a simple application that does what it says quite well.
Below are the **bash** aliasās that I created for using it on my machines. Itās not only āprettyā but also useful in that you can show the *git* status of files in your directory listing etc. Checkout their documentation to tailor itās output to your specifications.
I wasnāt ready to drop *ls* entirely, so I created some aliasās below that you can use to check out *exa* without having to *replace* ls entirely.
I suspect that after a couple weeks of using the below aliasās Iāll just replace *ls* as I havenāt really found any downsides yet.
$ sudo pacman -S exa # or on debian $ sudo apt install exa
alias e='exa --icons' alias el='exa --long --git --header --icons' alias et='exa --tree --icons'
Sample output from the above aliasās
There you have it, it just basically works as an *ls* replacement whist providing extra functionality. Itās always nice to find modern console utilities.