[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to add dir to path



# Sorry, I sent a mail directly to you.

Andrei Popescu wrote:

> Instead of a ~/script dir I use a ~/bin dir and didn't need to change
> anything because ~/.bash_profile already contains:
>
> # set PATH so it includes user's private bin if it exists
> if [ -d ~/bin ] ; then
>     PATH=~/bin:"${PATH}"
> fi

I had to add ~/bin in .bashrc. Otherwise, it won't be available in
gnome-terminal.




Reply to: