Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
1d636fe8
Commit
1d636fe8
authored
Jul 05, 2013
by
Alexandre Joly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pod-list
pod-lib removed. whyever I described it...
parent
cf5ca2f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
_pod
plugins/pod/_pod
+23
-3
No files found.
plugins/pod/_pod
View file @
1d636fe8
...
@@ -30,7 +30,6 @@ _1st_arguments=(
...
@@ -30,7 +30,6 @@ _1st_arguments=(
'help:Show help for the given command.'
'help:Show help for the given command.'
'install:Install project dependencies'
'install:Install project dependencies'
'ipc:Inter-process communication'
'ipc:Inter-process communication'
'lib:Develop pods'
'list:List pods'
'list:List pods'
'outdated:Show outdated project dependencies'
'outdated:Show outdated project dependencies'
'podfile-info:Shows information on installed Pods'
'podfile-info:Shows information on installed Pods'
...
@@ -77,7 +76,7 @@ __first_command_list ()
...
@@ -77,7 +76,7 @@ __first_command_list ()
local expl
local expl
declare -a tasks
declare -a tasks
tasks=(install ipc li
b li
st 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
_wanted tasks expl 'help' compadd $tasks
}
}
...
@@ -152,6 +151,27 @@ __pod-ipc() {
...
@@ -152,6 +151,27 @@ __pod-ipc() {
esac
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
local expl
...
@@ -192,7 +212,7 @@ case $state in
...
@@ -192,7 +212,7 @@ case $state in
__pod-list
__pod-list
;;
;;
(install|
lib|
outdated|podfile-info|push|search|setup|update)
(install|outdated|podfile-info|push|search|setup|update)
#_arguments ':feature:__repo_list'
#_arguments ':feature:__repo_list'
esac
esac
;;
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment