šŸ’¾ Archived View for gemini.mcgillij.dev ā€ŗ exa-ls-replacement.gmi captured on 2023-05-24 at 17:48:34. Gemini links have been rewritten to link to archived content

View Raw

More Information

ā¬…ļø Previous capture (2021-12-03)

-=-=-=-=-=-=-

exa a replacement ls

: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

Contents

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:

website

github

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.

Installation

$ sudo pacman -S exa
# or on debian
$ sudo apt install exa

Aliasā€™s

alias e='exa --icons'
alias el='exa --long --git --header --icons'
alias et='exa --tree --icons'

Screenshots

Sample output from the above aliasā€™s

[image: exa e]

[image: exa el]

[image: exa et]

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.