Is there a way to get bash to cd to a directory by default if I just enter the directory name?
Right now what I get is:
~ bemmu$ some_directory/
-bash: some_directory/: is a directory
What I want to happen is:
~ bemmu$ some_directory/
~/some_directory bemmu$
Tried to Google a bit but couldn't find an answer. I'm on "GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)".