diff options
author | Alexandre Joly <alexandre.joly@futurecom.ch> | 2013-07-05 11:17:33 +0200 |
---|---|---|
committer | Alexandre Joly <alexandre.joly@futurecom.ch> | 2013-07-05 11:17:33 +0200 |
commit | 1d636fe8ab4a7258eddbe120d462cdda3d8adbaf (patch) | |
tree | abe81d098ea3d27509a89632c86fe4b52736ca7e /plugins | |
parent | cf5ca2f4f3e6d98a4d4d4938be0e421645722fb2 (diff) | |
download | zsh-1d636fe8ab4a7258eddbe120d462cdda3d8adbaf.tar.gz zsh-1d636fe8ab4a7258eddbe120d462cdda3d8adbaf.tar.bz2 zsh-1d636fe8ab4a7258eddbe120d462cdda3d8adbaf.zip |
pod-list
pod-lib removed. whyever I described it...
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/pod/_pod | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/plugins/pod/_pod b/plugins/pod/_pod index ce8882d42..1decb8872 100644 --- a/plugins/pod/_pod +++ b/plugins/pod/_pod @@ -30,7 +30,6 @@ _1st_arguments=( 'help:Show help for the given command.' 'install:Install project dependencies' 'ipc:Inter-process communication' - 'lib:Develop pods' 'list:List pods' 'outdated:Show outdated project dependencies' 'podfile-info:Shows information on installed Pods' @@ -77,7 +76,7 @@ __first_command_list () local expl declare -a tasks - tasks=(install ipc lib list outdated podfile-info push repo search setup spec update) + tasks=(install ipc list outdated podfile-info push repo search setup spec update) _wanted tasks expl 'help' compadd $tasks } @@ -152,6 +151,27 @@ __pod-ipc() { esac } +__pod-list() { + local curcontext="$curcontext" state line + typeset -A opt_args + + _arguments -C \ + ':command:->command' \ + '*::options:->options' + + case $state in + (command) + _describe -t commands "gem subcommand" _list_arguments + return + ;; + + (options) + #todo + return + ;; + esac +} + local expl @@ -192,7 +212,7 @@ case $state in __pod-list ;; - (install|lib|outdated|podfile-info|push|search|setup|update) + (install|outdated|podfile-info|push|search|setup|update) #_arguments ':feature:__repo_list' esac ;; |