4 ms·
The author had me until he mentioned installing ripgrep *temporarily*. Stopped there because I don't do heresy.
by defulmere 5y ago
The author had me until he mentioned installing ripgrep *temporarily*.
Stopped there because I don't do heresy.
- est31 5y agoI really love the temporary installs feature of nix OS. Often I just want to try some software once and don't want to use it afterwards. The temporary install feature is perfect for that, to help avoiding building up bloat from forgotten uninstalls. But yes, you absolutely must have ripgrep.
- luckyorlame 5y ago" I don't do heresy." please explain.
- jahnu 5y agoIt's a joke that they they love and depend on ripgrep so much that to uninstall it would be an act tantamount to heresy
- haskal 5y agoJust replace "ripgrep" with "cowsay" or "neofetch" and read again.
- pxc 5y agoSeconded! I think ripgrep is my favorite of all of these next-gen fundamental CLI tools. For me, it replaces both grep and sed (except for in-place use of the latter), because I never write complicated sed programs.
- stevefolta 5y ago"nix-shell" is exactly how I first tried ripgrep. Of course, I installed it permanently moments later.
- jeofken 5y agoIt’s with you for eternity, just hidden from programs unworthy of its excellence. Immutable is forever :)
- kaba0 5y agoUntil you run the gc :D My record with nix-collect-garbage was like 30 GB. I since enable the auto-gc.
- ihumanable 5y agoI think one thing that's interesting about "temporary" installation is that nix has this notion of "present" vs "installed." When you run a nix-shell the program is downloaded and if necessary built and put into the nix store, after leaving the shell it's all right there on your disk ("present") just not "installed" into the environment. This is why the first time you run nix-shell with something new it downloads stuff while subsequent invocations are immediate. It also means that if you liked ripgrep in a shell, installing it is just has nix write out some new symlinks.