DEV Community

Discussion on: Discovering the terminal

Collapse
 
thatonejakeb profile image
Jacob Baker

I quite like using pushd and popd for navigating if I'm going in and out of directories.

Where cd - will take you to where you were before, pushd [destination] pushes the current working directory on to a stack before switching so then you can popd and go back to it no matter how many times you've cd in between!

Collapse
 
brouberol profile image
Balthazar Rouberol

pushd and popd are pretty awesome indeed! It took me a while to get used to them, but in the end I replaced them with github.com/gsamokovarov/jump

That's what I like with these tools: there's a fit for everyone!

Collapse
 
thatonejakeb profile image
Jacob Baker

That looks neat, I'll give it a go!