On Fri, Mar 8, 2013 at 10:10 AM, Dr. Werner Fink
Hi,
for the revised completion script I like to have some testers. you'll find the script in the attachment. Note that currently the old script is /usr/lib/osc/complete which is activated in
/etc/profile.d/osc.sh /etc/profile.d/osc.csh
that is you need an other location to test it out.
You may name the attachment as ~/bin/osc.complete and use
COMP_WORDBREAKS="${COMP_WORDBREAKS//:}" complete -C osc.complete osc
for bash as your shell ... or
complete osc 'p@*@`\osc.complete`@'
if your shell is the tcsh.
Werner
Werner, I may not understand what the tool does, but I gave it a shot: osc getb<tab> results in osc getbinaries [correct result I assume] osc getb<tab><tab> results in osc getbinaries getbinaries [wrong result I assume] Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org