Created
May 21, 2015 05:21
-
-
Save srijanshetty/09df9bd9c7277b2b5519 to your computer and use it in GitHub Desktop.
ZSH static completions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#compdef repos | |
typeset -A opt_args | |
local context state line | |
_arguments -s -S \ | |
'--add-git[add a github configuration]'\ | |
'--add-bit[add a bitbucket configuration]'\ | |
'--available[List all available configurations.]'\ | |
'--check[list all repos not in mrconfig]'\ | |
'--disable[disable given configuration]'\ | |
'--enable[enable given configuration]'\ | |
'--list[list current configurations]'\ | |
'--only[only enable a configuration]'\ | |
&& return 0 | |
return 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment