Skip to content

Comment on How to add a directory to your PATHparent

Comments

.bashrc gets run every time a shell starts

Probably because it's sourced from your distro provided /etc/profile. Bash will only source .bashrc on its own in some cases.

It seems to be for interactive shells. So I probably hit a problem while shelling out from my editor but potentially any IDE that has a command prompt will have trouble if it's trying to set environment variables.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.