PATH ~/bin under gnome

Todd Slater dontodd at gmail.com
Mon Nov 20 22:45:40 UTC 2006


On 11/20/06, rodrigochinaski <rodrigo.chinaski at gmail.com> wrote:
> Greetings...
>
> I would like to add my ~/bin in the PATH. I already uncommented the
> following lines on my ~/.bash_profile, but it only works on the console,
> not on the gnome environment.
>
>
> # set PATH so it includes user's private bin if it exists
> if [ -d ~/bin ] ; then
>     PATH="${PATH}":~/bin
> fi
>
> What's the "cleanest" way to do this?

Just add that to the end of your ~/.bashrc file. You'll probably have
to log out and back in for it to take effect.

Todd




More information about the ubuntu-users mailing list