Let me mention that probably because of Mac I have started appreciating unix. Unix was sort of arcane land for me. I used it only when required on projects. And even now I don’t use it much. But I liked MacOS.
The original post mentions following sequence.
cd ~/go/ cd ~/tmp/ cd - # <- this puts you back to ~/go/ cd - # <- this puts you back to ~/tmp/
Isn’t that good?
I did not know that following command will take you to your home directory.