diff options
author | Robby Russell <robby@planetargon.com> | 2013-11-16 08:55:18 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-11-16 08:55:18 -0800 |
commit | 9f5a895192b7d6b75ba717ef4e2c9b6ed7977c68 (patch) | |
tree | d0ddf2a2ce419a218f60a0a64178f969832fa3ff /plugins | |
parent | d7418f2b666adf82aaad9ab22a8727f2272e55ec (diff) | |
parent | 0eb86f82d6d3a6cf05b11818bb69ba4de80124da (diff) | |
download | zsh-9f5a895192b7d6b75ba717ef4e2c9b6ed7977c68.tar.gz zsh-9f5a895192b7d6b75ba717ef4e2c9b6ed7977c68.tar.bz2 zsh-9f5a895192b7d6b75ba717ef4e2c9b6ed7977c68.zip |
Merge pull request #2084 from mekanics/update-pod-plugin
updated the arguments list to the newest version (0.27.1) of cocoapods
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/pod/_pod | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/plugins/pod/_pod b/plugins/pod/_pod index 563fa5e66..8c0f4460f 100644 --- a/plugins/pod/_pod +++ b/plugins/pod/_pod @@ -3,18 +3,19 @@ # ----------------------------------------------------------------------------- # FILE: _pod -# DESCRIPTION: Cocoapods autocomplete plugin for Oh-My-Zsh +# DESCRIPTION: Cocoapods (0.27.1) autocomplete plugin for Oh-My-Zsh # http://cocoapods.org # AUTHOR: Alexandre Joly (alexandre.joly@mekanics.ch) # GITHUB: https://github.com/mekanics # TWITTER: @jolyAlexandre -# VERSION: 0.0.1 +# VERSION: 0.0.3 # LICENSE: MIT # ----------------------------------------------------------------------------- local -a _1st_arguments _1st_arguments=( - 'help:Show help for the given command.' + 'help:Show help for the given command' + 'init:Generate a Podfile for the current directory' 'install:Install project dependencies' 'ipc:Inter-process communication' 'list:List pods' @@ -32,6 +33,7 @@ local -a _repo_arguments _repo_arguments=( 'add:Add a spec repo' 'lint:Validates all specs in a repo' + 'remove:Remove a spec repo.' 'update:Update a spec repo' ) @@ -158,7 +160,7 @@ __first_command_list () } __repo_list() { - _wanted application expl 'repo' compadd $(command ls -1 ~/.cocoapods 2>/dev/null | sed -e 's/ /\\ /g') + _wanted application expl 'repo' compadd $(command ls -1 ~/.cocoapods/repos 2>/dev/null | sed -e 's/ /\\ /g') } __pod-repo() { @@ -193,6 +195,12 @@ __pod-repo() { (add) _arguments \ $_inherited_options + + (remove) + _arguments \ + $_inherited_options \ + ':feature:__repo_list' + ;; esac ;; esac |