diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Debian/_deb_packages | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Debian/_deb_packages b/Completion/Debian/_deb_packages index dd39d055d..9561641b7 100644 --- a/Completion/Debian/_deb_packages +++ b/Completion/Debian/_deb_packages @@ -1,6 +1,15 @@ #autoload +local opt caopts + # Usage: _deb_packages installed|uninstalled|avail +while getopts "J:" opt; do + case "$opt" in + J) caopts="-J $OPTARG" + shift 2 # presume that -J -default- are the first args + ;; + esac +done if (( ! $+_deb_cache_dpkg_get_selections )); then _deb_cache_dpkg_get_selections=( |