BASH blank alias to 'cd' BASH blank alias to 'cd' shell shell

BASH blank alias to 'cd'


It's an option added in version 4.0 of Bash. You can set it with:

$ shopt -s autocd

Put that in your .bashrc file to enable it always.


I don't think you'll be able to have a "blank" alias, it doesn't really make sense..

bash version 4.0 added the autocd option, which is set by running shopt -s autocd (as mipadi answered)

There is no such option in previous versions of bash, annoying.