Guillaume Rousse ([EMAIL PROTECTED]) wrote:
> Ainsi parlait Han :
> > Guillaume Rousse ([EMAIL PROTECTED]) wrote:
> > > Well, that was only a first quick try :-) I'll try harder.
> >
> > I included you're urpmi completion as well. But if you tried with more
> > succes ;) please lemme know, and I will bake a -4mdk.
> Here is a better one, tough still not able to compete with zsh :-)
> I submitted it to bash_completion file maintainer, off course, but until it 
> get merged, could you add it as a distinct patch ? Thanks. 

Not like a patch, I added theses lines to /etc/bash_completion (as a
patch) :)

# Mandrake urpmi completion file.
[ -f /etc/bash_completion_for_urpmi ] && . /etc/bash_completion_for_urpmi


Don't tell me this happens because I have a non-default PS1
[~]$ echo $PS1
\[${magenta}\][\[${end}\]\w\[${magenta}\]]\[${end}\]\$

[~]$ urpmi ker
^[[01;31mker^[[00mnel22
^[[01;31mker^[[00mnel22-secure
^[[01;31mker^[[00mnel22-smp
^[[01;31mker^[[00mnel22-source
^[[01;31mker^[[00mnel-2.4.17.10mdk
^[[01;31mker^[[00mnel-BOOT-2.4.17.10mdk
^[[01;31mker^[[00mnel-doc
^[[01;31mker^[[00mnel-doc-html
^[[01;31mker^[[00mnel-doc-pdf
^[[01;31mker^[[00mnel-doc-ps
^[[01;31mker^[[00mnel-enterprise-2.4.17.10mdk
^[[01;31mker^[[00mnel-headers
^[[01;31mker^[[00mnel-linus2.2
^[[01;31mker^[[00mnel-linus2.4
^[[01;31mker^[[00mnel-secure-2.4.17.10mdk
^[[01;31mker^[[00mnel-smp-2.4.17.10mdk
^[[01;31mker^[[00mnel-source
[~]$ urpmi ^[[01;31mker^[[00mnel



Groetjes, Han.
-- 
http://www.xs4all.nl/~hanb/software

Reply via email to