mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 05:01:07 +08:00
.. | ||
README.md | ||
ruby.plugin.zsh |
Ruby plugin
This plugin adds aliases for common commands used in dealing with Ruby and gem packages.
To use it, add ruby
to the plugins array in your zshrc file:
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 |