mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

Aral Balkan

A couple of command-line tools I’ve recently switched to using:

- yazi as file manager instead of lf (fast and, for me at least, more intuitive and better handles default editor)

terminaltrove.com/yazi/

- ouch for compression/decompression from CLI instead of getting the fucking unintuitive flags wrong every fucking time

terminaltrove.com/ouch/

(Thanks to @orhun for the recent link to Terminal Trove for the new finds.)

terminaltrove.comyazi - Terminal TroveBlazing fast terminal file manager written in Rust, based on async I/O. - Discover more CLI and TUI tools like yazi and much more on Terminal Trove.

PS. I’m running fish shell, so I also added a couple of abbreviations (I use abbreviations when I don’t want to type out the original command but I also don’t want to forget it):

abbr --add --global compress 'ouch compress'
abbr --add --global decompress 'ouch decompress'

Also note that Yazi has a function to let you switch to the folder you’re in when you exit:

yazi-rs.github.io/docs/quick-s

(I have regular Yazi aliased – in this case an alias makes more sense – to ff and the cd version to cc.)

yazi-rs.github.ioQuick Start | YaziA quick guide on the basic usage of Yazi.

@aral @orhun I freaking so need to actually "Learn" Linux.

grrrrrrrrrrrr

@brothersoul Just use it, it’s the best way to learn (and these tools are all available cross-platform so you can use them on a Mac, etc.)

And if you’re on Windows, you can always dip your toe in using WSL.

@orhun

@aral @orhun You rock for this m8.

Big Up's.

Brother.

@brothersoul
Use it, follow people that share insights about Linux, get a little bit better every day 😉
@aral @orhun

@aral one thing you can do is have a function to echo out the original command.

Typing the shortcut. You then see in STDOUT the command, and it’s execution output.

There has to be a way. Way back ago, I had this in my synchronized ~/.bashrc to all VMs I managed. Fish must have a way to achieve this with a few functions

@aral @orhun I finally memorised `tar xvfz` after 15 years of using Linux, are you telling me it was all for nothing?!

Love yazi, btw. I've gone from ranger to nnn to fff to lf to yazi, and yazi is my favourite so far.

@aral @orhun yazi's install command is outdated (or they're using the aur package name)

either way on pacman it's yazi not yazi-bin

Have you tried nnn or even nnn-nerd

bash fish and zsh configurations built-in

@aral

@aral I didn't know about Terminal Trove, and it's the best compilation of tools I have seen in a long time. So thank you very much for sharing this 🙂

@aral @orhun I'm using Fedora 40 as my main toolbox container on a Fedora Silverblue host. I'd like to try this out, integrating it in the main toolbox but, unfortunately, the package is not available in the distribution's package manager. What's the best way to install it and keep it up-to-date with minimal fuss? I'm unfamiliar with the Rust toolchain. Is installing, say, rustup a good way to go about managing Rust packages? Reference: opensource.com/article/22/6/ru

Opensource.comManage your Rust toolchain using rustupRustup can be used to install Rust and keep it updated. It also allows you to seamlessly switch between the stable, beta, and nightly Rust compilers and tooling.

@minimaxheadroom @orhun Yeah, Rust/cargo is perfect for Silverblue. I installed the rust tool chain in a distrobox VM and just install rust tools with cargo and they’re also available on my host (I work on the host) as they’re installed in your user account. It’s a much better workflow than fling everything in a container imho.

@aral @orhun are you `distrobox export`'ing the containerized tools to your host piecemeal, then? Or, perhaps, defining all that in a manifest file to pass to distrobox-assemble: distrobox.it/usage/distrobox-a ? Share your tech nuggets, oh wise one :)

distrobox.itDistroboxUse any linux distribution inside your terminal.

@minimaxheadroom @orhun Haha, I wouldn’t say wise. I just use export on an ad hoc basis. Can post the command when I’m back at my desk tomorrow if you like :)

@aral @orhun sure, that couldn't hurt. Unrelated, but are you often using a host terminal for your work versus working inside a toolbox environment directly?

@minimaxheadroom @orhun Sure, it’s, e.g.,

distrobox-export --bin (which fastfetch) --export-path ~/.local/bin

(Replace fastfetch with whatever is the name of the binary you just installed.)

Cool thing about Rust apps is you don’t need this step. (Although you will need to specify the full path to them if using with sudo.)

On to your other question: I work exclusively within the host and only use a container to install/build stuff.

@aral @orhun yazi looks amazebolus. Thanks for the tip.