by highmastdon on 1/25/24, 7:09 PM with 155 comments
by juxtapose on 1/26/24, 6:38 AM
Besides the product, the community is pleasantly awesome as well. I've contributed a module to it and the maintainer has done a good job reviewing and testing. Heck, they even have a Discord server for contributors.
by neilv on 1/26/24, 7:42 AM
$
#
%
>
by Narushia on 1/26/24, 10:17 AM
by lazypenguin on 1/26/24, 1:48 AM
by weebull on 1/26/24, 10:14 AM
Rust is not a user feature, it's an implementation detail.
<cue people telling me I should consider Rust a feature>
by rgoulter on 1/26/24, 1:40 AM
I think it goes well with the fish shell: it's much nicer than the default, without requiring customisation.
by srid on 1/26/24, 9:23 AM
https://github.com/srid/nixos-config/blob/master/home/starsh...
Incidentally, starship also gives a visual indication of whether you are in the nix shell or not, which is pretty handy when using direnv:
by myaccountonhn on 1/26/24, 1:43 AM
by usrbinbash on 1/26/24, 11:21 AM
Here is what a minimal shell prompt looks like:
$
Here is another one which only uses the shells own facilities: current-directory@hostname $
Running a complex piece of software every time the shell needs to display it's prompt, is not "minimal", regardless of how fast and well written said piece of software is.by tecoholic on 1/26/24, 1:49 AM
by joshstrange on 1/26/24, 10:34 AM
Do the people who use this (along with terminal emulators that require you install things on the host to get the full power) just not use other machines and/or install stuff like this on them? Just seems odd to me personally but I’m interested in how others use it. Do you only use your own computer/terminal so it’s not an issue?
by the_gipsy on 1/26/24, 8:59 AM
Another minimal prompt: https://lib.rs/crates/pista
by leo150 on 1/26/24, 7:13 AM
by rollcat on 1/26/24, 8:50 AM
https://github.com/rollcat/etc/tree/master/cmd/prompter
It's quite portable (didn't test on Windows though); ~170 lines of Go; no dependencies outside of stdlib; calls no external commands; supports SSH, git, Docker, nix, and virtualenv; extremely simple to hack on.
by jwalton on 1/26/24, 6:15 AM
by jasonjmcghee on 1/26/24, 4:09 AM
by daliusd on 1/26/24, 11:34 AM
by HackerThemAll on 1/26/24, 6:12 PM
Or should I do it only on toy machines, risking different experience between them and production.
No, thanks. Plain bash will suffice. Just like it did for so many years.
by KolenCh on 1/26/24, 9:55 PM
Thanks.
by shmerl on 1/26/24, 7:07 AM
I usually use simple ^ but having something like there would be nicer.
by AtlasBarfed on 1/26/24, 12:50 AM
What makes this "infinitely customizable" aside from being turing complete?
I don't see anything but ... a prompt.
by drivingmenuts on 1/26/24, 12:57 PM
by arun-mani-j on 1/26/24, 9:55 AM
by cranberryturkey on 1/26/24, 7:27 AM
by arrakeen on 1/26/24, 6:13 AM
by YuukiRey on 1/26/24, 5:53 AM