Package: zsh
Version: 4.3.2-25
Severity: wishlist
Tags: patch

The command line completion for darcs includes a bit more than just the
commands.  The following change seems to fix it:

--- _darcs      2006-11-26 17:15:03.000000000 +0000
+++ /usr/share/zsh/4.3.2/functions/Completion/Unix/_darcs
2006-11-24 04:37:22.000000000 +0000
@@ -101,7 +101,7 @@
 else
     local hline
     local -a cmdlist
-    _call_program help-commands darcs --help | while read -A hline; do
+    _call_program help-commands darcs --help | egrep -v '^[A-Z]' | while read 
-A hline; do
        (( ${#hline} < 2 )) && continue
        [[ $hline[1] == darcs ]] && continue
        [[ $hline[1] == Usage: ]] && continue

/M

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages zsh depends on:
ii  debconf [debconf-2.0]        1.5.9       Debian configuration management sy
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libncurses5                  5.5-5       Shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libpcre3                      6.7-1      Perl 5 Compatible Regular Expressi

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to