DEV Community

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

Collapse
 
maqbool profile image
Maqbool

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

Thread Thread
 
ahmadawais profile image
Ahmad Awais ⚡️

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. 🙌