logoalt Hacker News

the__alchemist • today at 3:20 PM • 1 reply • view on HN

It is - this is why adding something to the Path is tricky on Linux. Or I should say, there is a mismatch between the common instruction of how to do it (export) vs what you have to do (e.g. edit bash config)


Replies

hnlmorg • today at 4:47 PM

That’s because there isn’t a universal PATH variable.

Env vars are not global. They just have that illusion because a fork() by default will pass your running env vars to the child. Thus trickling that value down.

➕ show 1 reply