Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

zsh can do this if you set the PATH_DIRS option, but if I remember right it doesn't autocomplete deeply nested directories, just one level.

I made a little tool that dispatches hierarchical commands in a slightly nicer way, with intelligent autocomplete with command descriptions: https://github.com/ianthehenry/sd



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: