Is it possible to make bash change directory in command line simply by typing that directory without any commands like
For example is it possible instead of writing this:
$ cd /tmp
I just want to write only this:
In other words if I call directory as an application then I want to set that directory as a working one.