I want to set my prompt to something more descriptive than a plain old $, so I set the PS1 variable as such:
PS1="[${USER}][${PWD}]"
Which changes the prompt correctly, but when I change directories, it does not update the prompt. So I tried this:
PS1="`pwd`>"
I get the same results when changing directories.
How do I get the PS1 variable to dynamically change?