On 6/28/07, bash_user <[EMAIL PROTECTED]> wrote:
Lets say I would like to update environment variable based on ${PWD}
should I clobber my prompt generation routine or there is a better way.

Something like this?

PROMPT_COMMAND='eval NEWPWD="\$PWD"'

Dave


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to