aral,
@aral@mastodon.ar.al avatar

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)

https://terminaltrove.com/yazi/

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

https://terminaltrove.com/ouch/

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

jimfl,
@jimfl@hachyderm.io avatar

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

minimaxheadroom,

@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: https://opensource.com/article/22/6/rust-toolchain-rustup

aral,
@aral@mastodon.ar.al avatar

@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.

minimaxheadroom,

@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? Share your wisdom, wise one :)

aral,
@aral@mastodon.ar.al avatar

@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 :)

minimaxheadroom,

@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?

aral,
@aral@mastodon.ar.al avatar

@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,
@aral@mastodon.ar.al avatar

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:

https://yazi-rs.github.io/docs/quick-start

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

brothersoul,
@brothersoul@mstdn.social avatar

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

grrrrrrrrrrrr

aral,
@aral@mastodon.ar.al avatar

@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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ethstaker
  • DreamBathrooms
  • osvaldo12
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • mdbf
  • thenastyranch
  • Youngstown
  • slotface
  • everett
  • kavyap
  • Durango
  • tester
  • JUstTest
  • GTA5RPClips
  • tacticalgear
  • modclub
  • khanakhh
  • rosin
  • cisconetworking
  • normalnudes
  • provamag3
  • Leos
  • cubers
  • anitta
  • megavids
  • lostlight
  • All magazines