DEV Community

Discussion on: #OneDevMinute: Go back to the Previous Directory

maqbool profile image

It works but it creates a new instance of the shell process.

Thread Thread
mrahmadawais profile image
Ahmad Awais ⚡️ Author

Yes, that's the point. source method doesn't always work for every OS. Not everyone has Zsh, Bash, — folks have many different and custom setups. 🙌