Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Related, updating difftastic and friends if you installed via cargo:

  cargo install cargo-update
  cargo install-update --list
  cargo install-update --all
Other fun Rust projects available via cargo:

https://mise.jdx.dev/ mise-en-place, a drop-in replacement for asdf https://asdf-vm.com/ that is really fast and flexible.

https://github.com/ajeetdsouza/zoxide is a fantastic cd replacement, which stores where you cd to, and you can then do a partial match like "z hel" might take you to "~/projects/helloworld".

https://github.com/bootandy/dust is a compliment to "du", shows which directories are using the most disk space.



Another three very neat ones are

- https://github.com/eza-community/eza (ls with some added visual sugar)

- https://github.com/ClementTsang/bottom (htop but with graphs)

- https://github.com/sharkdp/bat (cat with syntax highlight)


I love zoxide! Also for your list: lsd, a prettier ls.


so... many... colours!

Looks great, thank you for the recommendation.


Wow, I installed mise-en-place. It's exactly what I wanted asdf to be.


It's so much faster than asdf, the dev did a really great job.


The rename to mise broke my workflow for a bit and the library is changing fast & adding new features frequently. That's good, but I hope it can stabilize a bit, so things don't get deprecated again. Still love it.


Yeah, the name "rtx" was not easy to search for. Mise is a much nicer name too.

I am currently using it with direnv, but there's enough functionality in mise to replace that too. I keep meaning to spend some time making mise work without direnv, but it's not been urgent since everything pretty much just works now.

I like the active development since the dev really seems to care about doing a great job, and I've been lucky enough so far that my (simple) workflows haven't been impacted.


Do you know if there’s a way to do per directory aliases with Mise? Every time I see a tool for directory environment, that’s the one feature in really hoping for


direnv + mise does exactly that. When I cd to various directories I get different env vars, it's pretty neat. Setting aliases would just be a case of adding them.

https://github.com/jdx/mise/discussions/1525 for an example of how I use direnv with mise.

https://mise.jdx.dev/direnv.html

https://mise.jdx.dev/templates.html


My favorite of the new `du`s is dua-cli, an ncdu clone (an interactive TUI). I went hunting because the latter didn't have a light-mode.


ncdu is the best du replacement by far.


I've always used dust as a replacement, and so I am curious to know if you have tried both tools: do you have thoughts on what makes ncdu better?


Dust is probably the best you can get without interactivity, so it's good for logs.

But ncdu is a fully interactive file browser that lets you navigate through the tree, and crucially it lets you delete things without requiring a full rescan. It's amazing for freeing up disk space by deleting things you don't need anymore, which is probably 95% of the reasons I run `du`.


Also, cargo-binstall (cargo binary install) which allows you to not have to compile every single time you cargo install and instead allows you to just install the binaries for a specific program. It also integrates with cargo install-update.


I originally tried binstall but it seemed to not work with our corporate proxy. However, I decided to give it another go after seeing your comment.

Now, it works great! I tried it with a mise update, and it pulled down the right binary with no proxy problems.

Thank you for the reminder and recommendation, much appreciated!!


Nice to see it works for you, I like the crate as well for my utility cargo installations.


How do these compare to https://github.com/moonrepo/proto ?


I haven't used proto so unfortunately I can't answer your question, sorry about that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: