[Freeipa-devel] bash completion

Michael Gregg mgregg at redhat.com
Thu Jun 11 18:40:15 UTC 2009


Rob Crittenden wrote:
> I'm not ready to check this in yet but here is something I've been 
> tinkering with, a bash completion script for the ipa command. You need 
> bash 2.05a or higher with programmable completion and extended pattern 
> matching enabled (it is on Fedora anyway).
>
> All you need to do is source this file and then you can use tab 
> completion on the IPA commands.
>
> This is currently limited to just the command names, not the options.
>
> I created the list of commands use the ipa help system, I'm attaching 
> that screwy little script too.
>
> Usage looks like:
>
> ipa u[TAB] -> ipa user[TAB] ->
> user2-create   user2-lock     user2-unlock   user-find      user-show
> user2-delete   user2-mod      user-add       user-lock      user-unlock
> user2-find     user2-show     user-del       user-mod
>
> rob
Thanks for the script Rob.

I've been hoping that ipa would get this functionality.

Michael-




More information about the Freeipa-devel mailing list