Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
c6496446
Commit
c6496446
authored
Oct 04, 2018
by
MasterOfTheTiger
Committed by
Marc Cornellà
Oct 04, 2018
Browse files
ruby: add README (#7212)
parent
9d57a90b
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/ruby/README.md
0 → 100644
View file @
c6496446
# Ruby plugin
This plugin adds aliases for common commands used in dealing with
[
Ruby
](
https://www.ruby-lang.org/en/
)
and
[
gem packages
](
https://rubygems.org/
)
.
To use it, add
`ruby`
to the plugins array in your zshrc file:
```
zsh
plugins
=(
... ruby
)
```
## Aliases
| Alias | Command | Description |
|-------|----------------------------------------|------------------------------------------------------|
| rb |
`ruby`
| The Ruby command |
| sgem |
`sudo gem`
| Run sudo gem on the system ruby, not the active ruby |
| rfind |
`find . -name "*.rb" \| xargs grep -n`
| Find ruby file |
| gin |
`gem install`
| Install a gem into the local repository |
| gun |
`gem uninstall`
| Uninstall gems from the local repository |
| gli |
`gem list`
| Display gems installed locally |
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