logoalt Hacker News

mathfailuretoday at 2:16 AM2 repliesview on HN

They did. Just not explicitly.


Replies

Dylan16807today at 6:19 AM

The only situation where you'd need to type a full path is when you have a name collision. But the suggestion to not worry about collisions with unknown system binaries also said to put the script folder first. In that situation running the script doesn't need a full path, and you won't be running the unknown system binary. So you won't be typing full paths.

Please explain the non-explicit suggestion you see, because I don't see it.

It's clear that "adding your script directory in front of the PATH" means a one time edit to .bashrc or equivalent, right? In normal use you're not typing it.

Joker_vDtoday at 5:14 AM

I've asked you why prepending paths to PATH instead of appending was a bad idea. How is having typing full paths has anything to do with it?