The following commit has been merged in the master branch:
commit 4ee9850e28a8b136b60cdf733cd0acff395b309a
Author: David Paleino <[email protected]>
Date: Mon May 2 20:00:58 2011 +0200
apt: add 'download' to subcommands (Debian: #625234, Ubuntu: #720541)
diff --git a/completions/apt b/completions/apt
index 337de31..c020ab2 100644
--- a/completions/apt
+++ b/completions/apt
@@ -8,7 +8,7 @@ _apt_get()
local special i
for (( i=0; i < ${#words[@]}-1; i++ )); do
- if [[ ${words[i]} ==
@(install|remove|autoremove|purge|source|build-dep) ]]; then
+ if [[ ${words[i]} ==
@(install|remove|autoremove|purge|source|build-dep|download) ]]; then
special=${words[i]}
fi
done
@@ -65,6 +65,7 @@ _apt_get()
else
COMPREPLY=( $( compgen -W 'update upgrade dselect-upgrade \
dist-upgrade install remove purge source build-dep \
+ download \
check clean autoclean autoremove' -- "$cur" ) )
fi
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits