diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-05 11:28:08 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-04-05 11:28:08 +0000 |
commit | b8bdb144d2a310632efb3bbd7dd78d4f296bc62f (patch) | |
tree | 8c32a29b3e72dce2728535f4a5ead0be9a7f8e89 /Completion/Debian/_dpkg | |
parent | fc426939cc5a8bc7acd809f9e013e6c10ede044f (diff) | |
download | zsh-b8bdb144d2a310632efb3bbd7dd78d4f296bc62f.tar.gz zsh-b8bdb144d2a310632efb3bbd7dd78d4f296bc62f.tar.xz zsh-b8bdb144d2a310632efb3bbd7dd78d4f296bc62f.zip |
use basename of commands instead of $words[1]
Diffstat (limited to 'Completion/Debian/_dpkg')
-rw-r--r-- | Completion/Debian/_dpkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/_dpkg b/Completion/Debian/_dpkg index 4e10844a2..43325c636 100644 --- a/Completion/Debian/_dpkg +++ b/Completion/Debian/_dpkg @@ -20,7 +20,7 @@ _dpkg_common_args=('--help[show help]' \ '--version[show version]' \ '--licence[show licensing]') -case "$words[1]" in +case "${words[1]:t}" in dpkg) _arguments -s '(--install)-i[install packages]:Debian package:_files -g \*.deb' \ '(-i)--install:Debian package:_files -g \*.deb' \ |