From f0ed7c20e227a89a536280d224dc7f932c7b2dfe Mon Sep 17 00:00:00 2001 From: David Paleino Date: Sat, 22 Nov 2008 18:10:38 +0100 Subject: [PATCH] Added build-dep to aptitude's completion (Closes: #495883) --- bash_completion | 4 ++-- debian/changelog | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bash_completion b/bash_completion index 5385e5b5..537fbb78 100644 --- a/bash_completion +++ b/bash_completion @@ -2312,7 +2312,7 @@ _aptitude() -Z -v --verbose --purge-unused --schedule-only' for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )); do - if [[ ${COMP_WORDS[i]} == @(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|forbid-version|purge|remove|changelog|why|why-not|keep|keep-all) ]]; then + if [[ ${COMP_WORDS[i]} == @(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|forbid-version|purge|remove|changelog|why|why-not|keep|keep-all|build-dep) ]]; then special=${COMP_WORDS[i]} fi #exclude some mutually exclusive options @@ -2322,7 +2322,7 @@ _aptitude() if [[ -n "$special" ]]; then case $special in - @(install|hold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|changelog|why|why-not)) + @(install|hold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|changelog|why|why-not|build-dep)) COMPREPLY=( $( apt-cache pkgnames $cur 2> /dev/null ) ) return 0 ;; diff --git a/debian/changelog b/debian/changelog index 70b70ce4..31e1a028 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,6 +32,7 @@ bash-completion (200809xx) UNRELEASED; urgency=low * Fixed errors with POSIX enabled (Closes: #502804) * Fixed dpkg-source wrong exit() with return() (Closes: #) * Added --schedule-only to aptitude's completion (Closes: #502664) + * Added build-dep to aptitude's completion (Closes: #495883) * Added support for `-F configfile' to _known_hosts(), ssh, scp and sftp, thanks to Freddy Vulto (Closes: #504141) * Fixed sed quoting bug in _known_hosts(), thanks to Freddy Vulto @@ -44,7 +45,7 @@ bash-completion (200809xx) UNRELEASED; urgency=low * debian/control: - fixed typo in the long description - -- David Paleino Sat, 22 Nov 2008 17:22:28 +0100 + -- David Paleino Sat, 22 Nov 2008 17:38:54 +0100 bash-completion (20080705) unstable; urgency=low