[Freeipa-devel] bash completion
David O'Brien
davido at redhat.com
Fri Jun 12 00:26:22 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
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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?
thanks
--
David O'Brien
IPA Content Author
Red Hat Asia Pacific
+61 7 3514 8189
"The most valuable of all talents is that of never using two words when
one will do."
Thomas Jefferson
More information about the Freeipa-devel
mailing list