3 ms·
Lazy completion is nice, e.g. type: 'ls /u/s/i' and tab could expand to '/usr/share/icons'
by craftyguy 9y ago
Lazy completion is nice, e.g. type: 'ls /u/s/i' and tab could expand to '/usr/share/icons'
- dvfjsdhgfv 9y agoMmkay, that's two tabs less than in Bash, I'm not sold that.
- Yetanfou 9y agoNot to mention that /u/s/i is not discoverable and as such something else to remember while /u <tab> /s <tab> (will expand to /usr/sbin /usr/share /usr/src so /sh <tab> is better) /i <tab> is. Tools which are not omni-present yet claim to save time by making the user remember tool-specific syntax are often not worth the effort of learning that syntax unless the savings in time or effort are substantial - in which case the tool would probably be more wide-spread to begin with.
- craftyguy 9y agoWell, that was a silly example I typed on my phone. Imagine longer paths, sometimes half a dozen or more directories deep, where multiple directories at a given level may start with the same character(s) but zsh is able to figure out which one you really want based on the subdirectories you specified.