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

Re: How to add dir to path



On Wed, Aug 08, 2007 at 03:12:28PM +0900, Takehiko Abe wrote:
> # 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.

# ~/.bash_profile: executed by bash(1) for login shells.

Set gnome-terminal to use a login shell.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: