How to force BASH to re-evaluate PS1

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

 



Lets say:

PS1="[${INSTALL_DIR##*/}]"

Bash is able to evalute it for the first time; but later, after INSTALL_DIR's value changes, Bash prompt wouldn't change accordingly. So is there a systematic way to force BASH to reflect the change?

Thanks.
-tk


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux