this post was submitted on 21 Sep 2024
222 points (97.4% liked)

Asklemmy

43905 readers
986 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] DirigibleProtein@aussie.zone 8 points 1 month ago (14 children)
[โ€“] walden@sub.wetshaving.social 6 points 1 month ago* (last edited 1 month ago) (12 children)

I learned you can edit .bashrc (in your home dir) and update the alias for ls to include what I like. It has saved me lots of keystrokes. Mine is ls -lha in addition to whatever color coding stuff is there by default.

[โ€“] jbrains@sh.itjust.works 7 points 1 month ago (10 children)
[โ€“] walden@sub.wetshaving.social 2 points 1 month ago (2 children)

Hmm, that's not working for me. You mean use those as options? 'ls -eza'?

[โ€“] babeuh@lemmy.world 4 points 1 month ago (1 children)
[โ€“] walden@sub.wetshaving.social 1 points 1 month ago* (last edited 1 month ago) (1 children)

Aha. Well, I guess I'm not the target audience because I can't be bothered to go through the installation steps. It's not in the LMDE repository, but I wish it were!

[โ€“] Noxious@fedia.io 1 points 1 month ago

It's pretty easy. You either get it from Cargo (the Rust package manager) or add a custom repo to apt.

Cargo is the easier and safer option: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh && cargo install eza

Custom apt repo:

sudo apt update
sudo apt install -y gpg

sudo mkdir -p /etc/apt/keyrings
wget -qO- https://raw.githubusercontent.com/eza-community/eza/main/deb.asc | sudo gpg --dearmor -o /etc/apt/keyrings/gierens.gpg
echo "deb [signed-by=/etc/apt/keyrings/gierens.gpg] http://deb.gierens.de stable main" | sudo tee /etc/apt/sources.list.d/gierens.list
sudo chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list
sudo apt update
sudo apt install -y eza

In my opinion though, you should also try lsd. It's even better than eza. You can also get it from Cargo, just a simple cargo install lsd.

[โ€“] jbrains@sh.itjust.works 3 points 1 month ago (1 children)

No, eza is one of those modern Rust replacement programs. It replaces ls.

[โ€“] emb@lemmy.world 1 points 1 month ago* (last edited 1 month ago) (2 children)

There's a whole bunch of cool modern replacements. Here's a handy list: altbox.dev

I personally use bat and rg all the time, and find them much more suitable for everyday tasks.

Edit: And to clarify, I didn't create either list, they're just ones I'd bookmarked at some point.

[โ€“] jbrains@sh.itjust.works 2 points 1 month ago

Even better than rg is rga. Indeed, you have a fine list.

[โ€“] bradboimler@lemmy.world 2 points 1 month ago (1 children)

The mobile site doesn't have the list. I was so confused.

[โ€“] emb@lemmy.world 2 points 1 month ago

Ew, sorry. This list is similar and more accessible:

https://github.com/ibraheemdev/modern-unix

load more comments (7 replies)
load more comments (8 replies)
load more comments (9 replies)