From b8bdb144d2a310632efb3bbd7dd78d4f296bc62f Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Wed, 5 Apr 2000 11:28:08 +0000 Subject: use basename of commands instead of $words[1] --- Completion/Debian/_dpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Debian/_dpkg') 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' \ -- cgit 1.4.1