News for hackers. Stuff that matters.
Re:Quickly navigate your filesystem from the command line by hk__2 on Saturday August 17, 2013 @11:02AM (#6229260)
Put the following in your .bashrc instead:

    shopt -s autocd
If you type a directory in the command-line, it’ll cd into it, e.g.:

    $ ..   # cd ..
    $ ~    # cd ~
    $ foo  # cd foo
I can’t live without this.
Re:Quickly navigate your filesystem from the command line by AlexanderDhoore on Saturday August 17, 2013 @11:13AM (#6229289)
Very cool, thanks! Although:

On OS X: "-bash: shopt: autocd: invalid shell option name"

Apple and their outdated tools... It gets annoying after a while.

Re:Quickly navigate your filesystem from the command line by rangibaby on Saturday August 17, 2013 @11:59AM (#6229416)
Re:Quickly navigate your filesystem from the command line by binofbread on Saturday August 17, 2013 @11:43AM (#6229369)
I believe this is set by default in oh-my-zsh as well.
Re:Quickly navigate your filesystem from the command line by cgore on Saturday August 17, 2013 @05:25PM (#6230417)
In Zsh, you can set it so that specifying a bare directory goes to the directory as well, for any directory. Just do

  setopt autocd