Package: zsh
Version: 4.3.10-14
Severity: normal
Tags: patch

The completion function for fuser tries to determine if fuser is
provided by PSmisc, or other the (less functional) generic Unix version.
It decides by checking the output of "fuser -V" for psmisc. However it
does not use case insensitive matching, so the test fails on my system
(even though my fuser is provided by psmisc).

Changing line 6 in

    /usr/share/zsh/functions/Completion/Unix/_fuser

from

    if _pick_variant -c $words[1] psmisc=psmisc unix -V; then

to

    if _pick_variant -c $words[1] psmisc='(#i)psmisc' unix -V; then

fixes the problem.

GI


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6                     2.11.2-7       Embedded GNU C Library: Shared lib
ii  libcap2                   1:2.19-3       support for getting/setting POSIX.
ii  libncursesw5              5.7+20100313-4 shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6                         2.11.2-7   Embedded GNU C Library: Shared lib
ii  libpcre3                      8.02-1.1   Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
ii  zsh-doc                       4.3.10-14  zsh documentation - info/HTML form

-- no debconf information

-- 
TOP 10 NEW FEATURES OF THE NEXT VERSION OF WINDOWS
3. Start-up .wav file replaced with the "cha-ching" sound of a cash
register.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to