Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: PATCH: matching in the new completion system



Is it intentional? 

(implying /usr/share/man/mrd)

bor@itsrm2:/tools/src/zsh-3.1.5-pws-14/Completion%> zsh -f
itsrm2% fpath=(*(/))
itsrm2% source Core/compinit 
bor@itsrm2:~%> l /u/s/m/m<TAB>
itsrm2% l /usr/s<TAB>
itsrm2% l /usr/s  
sadm/    sbin/    share/   spool@   src/     sysadm/  

Note, that if I also do:

itsrm2% compconf completer=_complete:_match
itsrm2% compconf match_original=yes
itsrm2% setopt no_listambiguous

itsrm2% l /u/s/m/m<TAB>
itsrm2% l /usr/s<TAB>  
sadm/   share/  
itsrm2% l /usr/sadm/<TAB>
sadm/   share/  
itsrm2% l /usr/sbin/   <= !!
sadm/   share/  

Funny, isn't it?

/andrej



Messages sorted by: Reverse Date, Date, Thread, Author