[arch-general] bashrc path not being enforced
Hello list Earlier I had appended my personal bin directory to /etc/profile's PATH, and it worked perfectly. Now, i am trying to add PATH to my user's .bashrc, but it doesn't come into effect. Though adding it to .bash_profile works. I am using urxvt and have set it to start as a login shell. What can be the reason? -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Am 27.01.2012 15:20, schrieb gt:
Hello list
Earlier I had appended my personal bin directory to /etc/profile's PATH, and it worked perfectly.
Now, i am trying to add PATH to my user's .bashrc, but it doesn't come into effect. Though adding it to .bash_profile works. I am using urxvt and have set it to start as a login shell.
What can be the reason?
'man bash', section "INVOCATION".
On Fri, Jan 27, 2012 at 03:42:17PM +0100, Thomas Bächler wrote:
Am 27.01.2012 15:20, schrieb gt:
Earlier I had appended my personal bin directory to /etc/profile's PATH, and it worked perfectly.
Now, i am trying to add PATH to my user's .bashrc, but it doesn't come into effect. Though adding it to .bash_profile works. I am using urxvt and have set it to start as a login shell.
What can be the reason?
'man bash', section "INVOCATION".
Thank, I know the difference between a login shell and non-login ones, and the files they use. Well i sorted out the issue. I had a "source /etc/profile" in my .bashrc, which was probable why the PATH wasn't coming into effect. -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
participants (2)
-
gt
-
Thomas Bächler