best practices for seting PATH
Merge request reports
Activity
Created by: seancolsen
Thanks Michael! I made some small adjustments to the markdown, most importantly to add the necessary double quotes around the custom admonition title.
Created by: totten
@ginkgomzd Maybe you should publish a single-purpose web site like
bashpath.org
orshellpath.net
orpath.readthedocs.org
dedicated solely to the instruction of "How do I add commands on the PATH?" ;)I'm just kidding.
Well, half-kidding. There's a lot of CLI tools. But all of them have a sort of obligation to provide installation docs (because so many consumers skipped day 2 of the "Intro to Shell" class where this would be explained), but really it's redundant for all of them to do so, and all of the environments (Ubuntu, OSX, Windows, etc) do it a little different.
@totten It really is a testament to StackOverflow for making this kind of information readily available I can't believe how many years I went without being clear on the concept of a login shell and the many different bash config files. Maybe if you go to unix sysadmin class, they really do cover this on day 2, but it does seem like this has long been assumed to be only relevant to sysadmins and not made available in luzer docs.