[Freeipa-devel] bash completion

Rob Crittenden rcritten at redhat.com
Fri Jun 12 15:04:05 UTC 2009


David O'Brien wrote:
> 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
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Freeipa-devel mailing list
>> Freeipa-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-devel
> How did we end up with all those "2s" in the commands? Version 2, sure, 
> but it only appears in some commands. What can I expect to see by GA?
> 

This is temporary while we transition from an older LDAP backend to a 
newer one. This will all work itself out shortly.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090612/e4641714/attachment.bin>


More information about the Freeipa-devel mailing list