If I am sshed into my Rails server, and I am in /var/www/some_app/current, it's actually a symlink pointing to (say) /var/www/some_app/releases/20201015004444. If I do a deployment, then current is replaced with a new symlink pointing to (say) /var/www/some_app/releases/20201023010000.
Neither the output of pwd nor the value of $PWD change, however. And of course my prompt doesn't change. There is no visible indicator that anything is amiss. Everything keeps humming along as if everything is great, and if I forget that I need to change to the new symlink, I won't know until something breaks or fails that I forgot to change directory.
How can I easily compare the actual current value of current with my actual current directory?