4 ms·
Related, updating difftastic and friends if you installed via cargo: cargo install cargo-update cargo install-update --list cargo install-update --all O
by bloopernova 3y ago
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/ https://mise.jdx.dev/ mise-en-place, a drop-in replacement for asdf https://asdf-vm.com/ https://asdf-vm.com/ that is really fast and flexible.
https://github.com/ajeetdsouza/zoxide 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 https://github.com/bootandy/dust is a compliment to "du", shows which directories are using the most disk space.
- IshKebab 3y agoncdu is the best du replacement by far.
- polygamous_bat 3y agoI'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?
- IshKebab 3y agoDust 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`.
- kstrauser 3y agoI love zoxide! Also for your list: lsd, a prettier ls.
- bloopernova 3y agoso... many... colours! Looks great, thank you for the recommendation.
- qmmmur 3y agoWow, I installed mise-en-place. It's exactly what I wanted asdf to be.
- bloopernova 3y agoIt's so much faster than asdf, the dev did a really great job.
- drewbitt 3y agoThe 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.
- bloopernova 3y agoYeah, 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.
- prh8 3y agoDo 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
- bloopernova 3y agodirenv + 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 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/direnv.html https://mise.jdx.dev/templates.html https://mise.jdx.dev/templates.html
- arlort 3y agoAnother three very neat ones are - https://github.com/eza-community/eza https://github.com/eza-community/eza (ls with some added visual sugar) - https://github.com/ClementTsang/bottom https://github.com/ClementTsang/bottom (htop but with graphs) - https://github.com/sharkdp/bat https://github.com/sharkdp/bat (cat with syntax highlight)
- satvikpendem 3y agoAlso, 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.
- bloopernova 3y agoI 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!!
- satvikpendem 3y agoNice to see it works for you, I like the crate as well for my utility cargo installations.
- tomatao 3y agoHow do these compare to https://github.com/moonrepo/proto https://github.com/moonrepo/proto ?
- bloopernova 3y agoI haven't used proto so unfortunately I can't answer your question, sorry about that.
- letmeinhere 3y agoMy 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.