Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 11:09:19 +0200
From:      rene@xs4all.nl
To:        questions@freebsd.org
Subject:   bash question
Message-ID:  <20010930110919.A22614@xs4all.nl>

next in thread | raw e-mail | index | archive | help
Hi. 

I know this is sort-of off-topic, I'd appreciate it if someone would email me
a list of bash-related mailinglists.

But, my short bash question: 
on http://www.linuxdoc.org/LDP/abs/html/othertypesv.html I read:

A script can export variables only to child processes, that is, only to
commands or processes which that particular script initiates. A script
invoked from the command line cannot export variables back to the command
line environment.  

I want to change my prompt via a script, and that would require to export to
the parent process, right... Is there any other way to do it?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010930110919.A22614>