I'm trying to change my command prompt to display my current working directory, but it doesn't work for me. I have tried putting this in my bash_profile which is in my home directory:
PS1='\h:\w$ '
PS1='\h:$PWD \u$ '
and my prompt does change but it just shows the same as I'm putting in so it doesn't recognize things like \h and \w i think?