[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-252-g4ee9850

David Paleino dapal at debian.org
Mon May 2 18:01:54 UTC 2011


The following commit has been merged in the master branch:
commit 4ee9850e28a8b136b60cdf733cd0acff395b309a
Author: David Paleino <dapal at debian.org>
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



More information about the Bash-completion-commits mailing list