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:
If you type a directory in the command-line, it’ll cd into it, e.g.:
I can’t live without this.
[ Parent
| on HN ]
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)
Install new bash using brew :-)
(1) http://apple.stackexchange.com/questions/55412/cd-to-a-direc...
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.