Hello,
A few months back I added a directory to my PATH. I now need to remove that directory from the PATH because there's a program in there with a name that clashes with something else I'm trying to use.
This should be really easy. I've looks in all the standard places:
1) ~/.profile
2) ~/.bash_profile
3) ~/.bash_rc
4) /etc/paths
And some others too I found by looking around on google. I found my original addition to the PATH in ~/.bash_profile, which I removed. However, every time I open a new terminal, the PATH variable still contains the directory I'm trying to remove.
I'm using Snow Leopard and bash. I've shut down terminal completely and rebooted the machine. All I can think is that somewhere there is another profile find adding the directory to the path.
Does anyone have any ideas how I can remove this directory from my path?
Thanks very much for any help,
Chris
A few months back I added a directory to my PATH. I now need to remove that directory from the PATH because there's a program in there with a name that clashes with something else I'm trying to use.
This should be really easy. I've looks in all the standard places:
1) ~/.profile
2) ~/.bash_profile
3) ~/.bash_rc
4) /etc/paths
And some others too I found by looking around on google. I found my original addition to the PATH in ~/.bash_profile, which I removed. However, every time I open a new terminal, the PATH variable still contains the directory I'm trying to remove.
I'm using Snow Leopard and bash. I've shut down terminal completely and rebooted the machine. All I can think is that somewhere there is another profile find adding the directory to the path.
Does anyone have any ideas how I can remove this directory from my path?
Thanks very much for any help,
Chris