10 Feb 20:03
Bug#659395: [bash-completion] Pls. add support for apt-get changelog
Alf Gaida <agaida <at> siduction.org>
2012-02-10 19:03:50 GMT
2012-02-10 19:03:50 GMT
Package: bash-completion
Version: 1:1.99-3.1
Severity: normal
Tags: patch
--- Please enter the report below this line. ---
the completion for apt-get changelog is missed, the attached patch should fix
this
--- System information. ---
Architecture: amd64
Kernel: Linux 3.2-2-gcom
Debian Release: wheezy/sid
980 experimental-snapshots qt-kde.debian.net
500 unstable packages.siduction.org
500 unstable ftp.debian.org
500 testing ftp.debian.org
500 stable ftp.debian.org
500 stable dl.google.com
1 experimental ftp.debian.org
--- Package information. ---
Depends (Version) | Installed
======================-+-===========
bash (>= 3.2) | 4.2-1
Package's Recommends field is empty.
Package's Suggests field is empty.
diff --git a/completions/apt-get b/completions/apt-get
index a6c902e..d35e0b0 100644
--- a/completions/apt-get
+++ b/completions/apt-get
@@ -7,7 +7,7 @@ _apt_get()
local special i
for (( i=0; i < ${#words[@]}-1; i++ )); do
- if [[ ${words[i]} == @(install|remove|autoremove|purge|source|build-dep|download) ]]; then
+ if [[ ${words[i]} == @(install|remove|autoremove|purge|source|build-dep|download|changelog)
]]; then
special=${words[i]}
fi
done
RSS Feed