[Pkg-zsh-devel] Bug#635736: zsh: Git tab completion no more suppresses files already on the command-line

Axel Beckert abe at debian.org
Thu Jul 28 13:22:37 UTC 2011


Package: zsh
Version: 4.3.12-1
Severity: minor
Tags: upstream

As _git has been rewritten for 4.3.12 I suspect this nice feature has
been lost that way:

!526 Z12 ?0 L1 abe at nemo:/tmp/blaa (pts/2 -zsh 4.3.12 sid) 15:15:05 (git)-[master] 
/tmp/blaa → git ls-files
bar
foo
!527 Z13 ?0 L1 abe at nemo:/tmp/blaa (pts/2 -zsh 4.3.12 sid) 15:15:11 (git)-[master] 
/tmp/blaa → ls -lA
total 0
-rw-r--r-- 1 abe abe   0 Jul 28 15:14 bar
-rw-r--r-- 1 abe abe   0 Jul 28 15:14 foo
drwxr-xr-x 8 abe abe 260 Jul 28 15:15 .git/
!528 Z14 ?0 L1 abe at nemo:/tmp/blaa (pts/2 -zsh 4.3.12 sid) 15:15:20 (git)-[master] 
/tmp/blaa → echo foo > bar
!529 Z15 ?0 L1 abe at nemo:/tmp/blaa (pts/2 -zsh 4.3.12 sid) 15:15:30 (git)-[master] 
/tmp/blaa → echo bar > foo
!530 Z16 ?0 L1 abe at nemo:/tmp/blaa (pts/2 -zsh 4.3.12 sid) 15:15:42 (git)-[master] 
/tmp/blaa → git st
# On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   bar
#       modified:   foo
#
no changes added to commit (use "git add" and/or "git commit -a")
!531 Z17 ?0 L1 abe at nemo:/tmp/blaa (pts/2 -zsh 4.3.12 sid) 15:15:44 (git)-[master] 
/tmp/blaa → git add foo <Tab>
completing modified file
bar  foo

Previously it just listed "bar" in that case and as it was the only
completion, just completed it. Now "foo" is regarded as valid
completion. That didn't happen with 4.3.11.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'stable'), (500, 'testing'), (400, 'oldstable'), (110, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6                         2.13-10    Embedded GNU C Library: Shared lib
ii  libcap2                       1:2.21-2   support for getting/setting POSIX.
ii  libncursesw5                  5.9-1      shared libraries for terminal hand

Versions of packages zsh recommends:
ii  libc6                         2.13-10    Embedded GNU C Library: Shared lib
ii  libpcre3                      8.12-3     Perl 5 Compatible Regular Expressi

Versions of packages zsh suggests:
pn  zsh-doc                       <none>     (no description available)

-- no debconf information





More information about the Pkg-zsh-devel mailing list