[Freeipa-devel] [PATCH] 315 tab completion for ipa command
Jason Gerard DeRose
jderose at redhat.com
Wed Nov 25 16:07:22 UTC 2009
On Mon, 2009-11-23 at 16:20 -0500, Rob Crittenden wrote:
> Rob Crittenden wrote:
> > This adds bash tab completion for the ipa command.
> >
> > Note that this is sourced when you log in, so installing the package
> > isn't enough to load this file. Alternatively you can do:
> >
> > % source /etc/bash_completion.d/ipa
> > % ipa user<TAB>
> > user-add user-find user-mod user-unlock
> > user-del user-lock user-show
> >
> > rob
>
> re-based patch should now apply cleanly.
>
> rob
ack. pushed to master.
Thanks, Rob, this is really nice. Two things I'd like to see going
forward:
1. Enable it by default. Is it a Fedora policy to not have
tab-completion enabled by default? What does a user need to do to
enable this?
2. Improve performance. I'm to blame for this, but the start-up time of
ipa is a bit too slow for this to feel right. As I've never profiled
it, there is probably some low hanging fruit that could give us a decent
boost. Otherwise we can prepare a static list of commands when the
package is installed.
More information about the Freeipa-devel
mailing list