PS1 environment variable

Dan Nicholson dbn.lists at gmail.com
Mon Jun 5 11:02:59 PDT 2006


On 6/4/06, Linden <quiksilv at optushome.com.au> wrote:
>
> I've manually exported the PS1 variable.
>
> Why doesn't my PS1 variable get inherited when running the script?
>
> I thought all child processes inherit their parents environment variables ?
> (PATH is properly inherited)

Some variables are ignored when bash is a non-interactive shell.  `man
bash' and look at the heading called INVOCATION.  It explains it right
there.

--
Dan



More information about the lfs-support mailing list