Added build-dep to aptitude's completion (Closes: #495883)
This commit is contained in:
parent
ce73f0facf
commit
f0ed7c20e2
@ -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
|
||||
;;
|
||||
|
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -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 <d.paleino@gmail.com> Sat, 22 Nov 2008 17:22:28 +0100
|
||||
-- David Paleino <d.paleino@gmail.com> Sat, 22 Nov 2008 17:38:54 +0100
|
||||
|
||||
bash-completion (20080705) unstable; urgency=low
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user