Hacker News new | ask | show | jobs
by nostoc 2121 days ago
"bash: /usr/local/bin/: Is a directory"

What to you have in your bashrc to allow cd'ing in directories without typing cd?

1 comments

I prefer to type "cd", the directory-as-executable feature is a bit confusing for me.

But you can enable it in bash, the option has the same name as in zsh: autocd. Just run "shopt -s autocd".