[Pkg-zsh-devel] Bug#658198: Autocompletion: 'ls --n<TAB>' first returns 'ls --n-g'.

A. Costa agcosta at gis.net
Tue Jan 31 23:08:57 UTC 2012


Package: zsh
Version: 4.3.15-1
Severity: minor

Dear Maintainer,

If I do:

    ls --n<TAB>

...the first autocompletion from 'zsh' is:

    ls --n-g

Of course 'ls' has no '--n-g' option.

A second <TAB> returns:

    ls --no-group

...which is a valid 'ls' option.

I looked in '/usr/share/zsh/functions/Completion/Unix/_ls' for
clues, but didn't notice anything obviously wrong.  But I'm not
a 'zsh' expert.


Hope this helps...



PS: This is a spin-off bug from Bug#463507.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6      2.13-24
ii  libcap2    1:2.22-1
ii  libtinfo5  5.9-4

Versions of packages zsh recommends:
ii  libc6         2.13-24
ii  libncursesw5  5.9-4
ii  libpcre3      8.12-4

Versions of packages zsh suggests:
pn  zsh-doc  <none>

-- no debconf information





More information about the Pkg-zsh-devel mailing list