aptitude & bash completion

Piero Ottuzzi piero.ottuzzi at omnys.it
Tue Apr 17 16:37:36 BST 2007


Hi there,

in my Kubuntu 6.10 AMD64 aptitude and bash completion work fine together.

piero at acaro:~$ aptitude [TAB][TAB]
autoclean       dist-upgrade    forget-new      markauto        remove          
unhold          upgrade
changelog       download        hold            purge           search          
unmarkauto
clean           forbid-version  install         reinstall       show            
update
piero at acaro:~$ aptitude

Bye
Piero

Alle 16:53, martedì 17 aprile 2007, Art Alexion ha scritto:
> Thanks to help from this people on this list, my switch from apt-get to
> aptitude seems to be working fine now.
>
> One thing I am not getting (Dapper) is bash completion with aptitude like I
> got with apt-get.
>
> Ex.
> 'sudo apt-get i<tab>' results in 'sudo apt-get install'
> 'sudo apt-get install bas<tab><tab> results in presenting me with choices
> of packages begining with 'bas'
>
> None of this works with aptitude.
>
> Dapper comes with bash-3.1-2ubuntu10
>
> The current version of bash seems to support aptitude (see
> http://www.caliban.org/bash/index.shtml#completion).
>
> Is there a way to update my version of bash to support this?  I don't mind
> hand patching the file as long as I know what to add.

-- 
He is now rising from affluence to poverty.
		-- Mark Twain
---------------------------------------
GPG KeyID: 84AE988E
Fingerprint: F0A0 CA2A 8D8F CC12 3F5E  C04C D8D5 9DC3 84AE 988E
gpg --keyserver x-hkp://search.keyserver.net:11371 --recv-key 84AE988E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/kubuntu-users/attachments/20070417/100c51d8/attachment.pgp 


More information about the kubuntu-users mailing list