parsed.org

Tips by tag: auto_cd

Auto-CD by cygnus on Jan 19, 2005 10:26 PM

To have zsh automatically cd to a directory without requiring you to type cd, set this option:

setopt auto_cd

So, if you have a directory foo in the current directory (and no command foo exists in your path), typing simply foo will be equivalent to cd foo.

auto_cdcommandszsh
RSS