3 ms·
In my experience, CDPATH is a great way to lose hours chasing down errors throughout your scripts.
by paxswill 6y ago
In my experience, CDPATH is a great way to lose hours chasing down errors throughout your scripts.
- JNRowe 6y ago"CDPATH=<str>" without the export will work as you'd want, and won't pollute the environment for subshells and scripts. It is unlikely you really want to export anything listed in the shell variables section of the man page, but yeah everybody does :/ [This message brought to you by https://news.ycombinator.com/item?id=22978770 https://news.ycombinator.com/item?id=22978770]
- justinsaccount 6y agoTIL, thanks :)