In the terminal You use
cd ../../........ to get to wherever you want,
But I am lazy, I am wondering if it is possible to automatically cd into the directories if the command is simply the directory.
The terminals obviously know it's the directory because you get the output of
bash: ../: Is a directory
So is it possible to hijack this message to automatically cd into that directory?