When I set my PS1='$PWD' the command line shows me the path to the current directory:
/home/myname
and it changes when I change the directory.
But when I change it to "$PWD" ( double quotes ) it always shows me the /home/myname no matter where I am at the moment. From what I've read it says that single quotes prints exactly what it is in it and don't expand special symbols like $. So why is it working that way?