~/bin not added to path

Matthias Klose doko at ubuntu.com
Thu Apr 14 12:38:15 UTC 2005


.bash_profile isn't source for non-login shells. Set the preference in
Gnome Terminal to start a login shell.

On Thu, 2005-04-14 at 13:50 +0200, Christoph Sturm wrote:
> hey guys!
> 
> I am probably missing something obvious here, but i am expiriencing a
> strange effect:
> I have created a bin directory in my home directory, and had the
> expectation that this snippet from .bash_profile would add it to the
> path:
> if [ -d ~/bin ] ; then
>     PATH=~/bin:"${PATH}"
> fi
> 
> but after logging into gnome its not added.
> when i do "su - chris", it works. 
> 
> Is that "by design" or a bug?
> 
> thanks
>  chris
> -- 
> christoph.sturm at gmail.com
> 





More information about the ubuntu-users mailing list