3 ms·
Oh my gosh, that /opt/local rant was prophetic. This is how I set my $PATH, note this code is portable between several Linux distros (including NixOS), macOS,
by rollcat 3y ago
Oh my gosh, that /opt/local rant was prophetic.
This is how I set my $PATH, note this code is portable between several Linux distros (including NixOS), macOS, OpenBSD, FreeBSD, and amd64/arm64...
<https://github.com/rollcat/dotfiles/blob/52a634f/.profile#L14 https://github.com/rollcat/dotfiles/blob/52a634f/.profile#L1...>
Whenever I touch it, I just wish I could put PATH=/bin in there instead, but then I'd be stuck juggling 17 different ways to make bind mounts.