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
7c3665bd
Commit
7c3665bd
authored
Dec 03, 2013
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2003 from dongweiming/update-gem
Update gem completion
parents
c0a6f8a8
15509ce0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
_gem
plugins/gem/_gem
+2
-1
No files found.
plugins/gem/_gem
View file @
7c3665bd
...
@@ -4,10 +4,11 @@
...
@@ -4,10 +4,11 @@
# gem zsh completion, based on homebrew completion
# gem zsh completion, based on homebrew completion
_gem_installed() {
_gem_installed() {
installed_gems=(
`gem list --local --no-versions`
)
installed_gems=(
${(f)"$(gem list --local --no-versions)"}
)
}
}
local -a _1st_arguments
local -a _1st_arguments
_1st_arguments=(
_1st_arguments=(
'build:Build a gem from a gemspec'
'build:Build a gem from a gemspec'
'cert:Manage RubyGems certificates and signing settings'
'cert:Manage RubyGems certificates and signing settings'
...
...
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