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

RE: PATCH: (was Re: _configure does not work)



>
> > 2. l ~/.z/C<TAB>
> >     Beep
> > ~/.zsh.d/Completion exists and was correctly completed before a
> couple of
> > last patches :-)
>
> Hm, this works for me.
>

That what I get with set -x:
bor@itsrm2:~%> l ~/.z/C+ local comp name _comp_correct comax
+ setopt localoptions nullglob rcexpandparam
+ unsetopt markdirs globsubst shwordsplit nounset ksharrays
+ [[ -iprefix '=' ]]
+ [[ ~/.z/C != */* ]]
+ true
+ comp=
+ [[ ! -z  ]]
+ [[ command == command ]]
+ _normal
+ local comp command cmd1 cmd2 pat val name i ret=1
+ command=ls
+ [[ CURRENT -eq 1 ]]
+ [[ l == = ]]
+ [[ ls == */* ]]
+ cmd1=ls
+ whence -p ls
+ eval cmd2=/usr/bin/ls
+ cmd2=/usr/bin/ls
+ pat=zf*
+ val=_zftp
+ [[ ls == zf* || /usr/bin/ls == zf* ]]
+ name=ls
+ comp=
+ [[ -z  ]]
+ name=/usr/bin/ls
+ comp=
+ [[ -z  ]]
+ name=-default-
+ comp=_default
+ [[ -z _default ]]
+ _default
+ compcall
+ _files
+ local nm=0 ret=1
+ _path_files
+ _match_test _path_files
+ ((  compstate[matcher] <= 1  ))
+ local nm prepaths str linepath realpath donepath patstr prepath testpath
rest
+ local tmp1 collect tmp2 suffixes i ignore matchflags opt group sopt pats
gopt
+ local addpfx addsfx expl orig ostr nm=0 menu
+ setopt localoptions nullglob rcexpandparam extendedglob
+ unsetopt markdirs globsubst shwordsplit nounset
+ prepaths=(  )
+ ignore=( )
+ group=( )
+ sopt=-
+ gopt=
+ pats=( )
+ addpfx=( )
+ addsfx=( )
+ expl=( )
+ getopts P:S:W:F:J:V:X:f/g: opt
+ [[ - == - ]]
+ [[ -z  ]]
+ sopt=-f
+ pats=( * )
+ [[ 0 -ne 0 ]]
+ str=\~/.z/C*
+ orig=~/.z/C
+ [[ unambiguous == *menu || 0 -ne 0 ]]
+ ((  ! 0  ))
+ [[ -z  ]]
+ tmp1=( )
+ nm=0
+ [[ -z  ]]
+ compgen -f
+ [[ compstate[nmatches] -eq nm ]]
+ ignore=( -F fignore )
+ [[ \ == ~ ]]
+ linepath=
+ realpath=
+ [[ \ == / ]]
+ [[ \~/.z/C* == (.|..)/* ]]
+ donepath=
+ patstr=\~/.z/C*
+ matchflags=
+ _match_pattern _path_files patstr matchflags
+ [[ -n  ]]
+ patstr=\~*/.z*/C*
+ [[ ~/.z/C == */* ]]
+ tmp1=( )
+ [[ 0 -gt 0 ]]
+ break
+ str=\~*/.z*/C*
+ testpath=
+ ostr=~/.z/C
+ [[ -z  ]]
+ [[ \~*/.z*/C* == */* ]]
+ rest=.z*/C*
+ tmp1=\~*(-/)
+ tmp1=( )
+ [[ 0 -eq 0 ]]
+ continue 2
+ [[ nm -ne compstate[nmatches] ]]
+ [[ 0 -ne 0 ]]
+ return ret
+ return ret
+ ((  0  ))
+ break
+ [[ -n  ]]
bor@itsrm2:~%> l ~/.z/C



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