bug-bash
[Top][All Lists]
Advanced

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

Re: Evaluate expression every time directory changes


From: Dave Rutherford
Subject: Re: Evaluate expression every time directory changes
Date: Fri, 29 Jun 2007 11:13:12 -0400

On 6/28/07, bash_user <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]