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!
I quite like using
pushd
andpopd
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 canpopd
and go back to it no matter how many times you'vecd
in between!pushd
andpopd
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/jumpThat's what I like with these tools: there's a fit for everyone!
That looks neat, I'll give it a go!