2 ms·
It's not out of the box. It works on my omz shell, although I didn't do anything to specifically enable this since it never bothered me to type cd and I kinda h
by vladvasiliu 3y ago
It's not out of the box. It works on my omz shell, although I didn't do anything to specifically enable this since it never bothered me to type cd and I kinda hate "magic". On an out-of-the-ubuntu-box zsh, it doesn't work:
% cd /
% bin
zsh: command not found: bin
- pcdavid 3y agoThis behavior is controled by the AUTO_CD option: https://zsh.sourceforge.io/Doc/Release/Options.html https://zsh.sourceforge.io/Doc/Release/Options.html. To enable it yourself: setopt AUTO_CD