Package: zsh
Version: 4.3.5-1
Severity: minor

        Hi,

 I can't really decide whether this is wishlist or minor; please
 downgrade if you feel otherwise.

 When I used to type:
    debcom<tab>
 it would expand to the full command with a final space:
    debcommit 
 and I could then append flags to this command; perfect.

 Now that I aliases debcommit with:
    alias debcommit='debcommit -e -s'
 I get the expanded command without a final space:
    debcommit
 hitting tab a second time reveals that zsh sees two choices:
    % debcommit<tab>
    external command
    debcommit -- commit changes to a package
    alias
    debcommit

 I would like it if zsh would only consider the highest priority
 completion choice for commands as obviously I can't invoke the
 debcommit binary but only the debcommit alias here.  Or it would be
 enough if zsh would append a space if all choices expans to the same
 thing.

    Thanks!

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

Kernel: Linux 2.6.24-rc8-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages zsh depends on:
ii  debconf [debconf-2.0]     1.5.19         Debian configuration management sy
ii  libc6                     2.7-6          GNU C Library: Shared libraries
ii  libcap1                   1:1.10-14      support for getting/setting POSIX.
ii  libncursesw5              5.6+20080203-1 Shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libpcre3                      7.6-1      Perl 5 Compatible Regular Expressi

-- no debconf information

-- 
Loïc Minier


Reply via email to