diff options
Diffstat (limited to 'Completion/Debian/Command')
-rw-r--r-- | Completion/Debian/Command/_dpkg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Completion/Debian/Command/_dpkg b/Completion/Debian/Command/_dpkg index 962adf825..3d602bff8 100644 --- a/Completion/Debian/Command/_dpkg +++ b/Completion/Debian/Command/_dpkg @@ -2,9 +2,14 @@ local _dpkg_deb_actions _dpkg_common_actions _dpkg_actions _dpkg_options local _dpkg_options_recursive _dpkg_actions_install _dpkg_actions_record_avail +local _dpkg_deb_only_actions local curcontext="$curcontext" context state line expl ret typeset -A opt_args +_dpkg_deb_only_actions=( + '(--show -W)'{--show,-W}'[show package info]:Debian package:_files -g \*.u\#deb' +) + _dpkg_deb_actions=( '(--build -b)'{--build,-b}'[build archive]:directory:_files -/' '(--contents -c)'{--contents,-c}'[list contents]:Debian package:_files -g "*.u#deb(-.)"' @@ -84,6 +89,7 @@ case "$service" in dpkg-deb) _arguments "$_dpkg_deb_actions[@]" \ + "$_dpkg_deb_only_actions[@]" \ "$_dpkg_common_actions[@]" && return 0 ;; dpkg-reconfigure) |