1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00
ohmyzsh/plugins/ruby
Marc Cornellà 8c1495a18e
fix(ruby)!: rename aliases that start with g to ge
BREAKING CHANGE: all `gem` aliases that started with `g` now start
with `ge` to fix conflicting names with the `git` plugin. Also, the
`ghlp` alias is now renamed `geh`. Have a look at the plugin README
for more information.

Fixes #10320
2021-10-20 17:11:42 +02:00
..
README.md fix(ruby)!: rename aliases that start with g to ge 2021-10-20 17:11:42 +02:00
ruby.plugin.zsh fix(ruby)!: rename aliases that start with g to ge 2021-10-20 17:11:42 +02:00

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
gein gem install Install a gem into the local repository
geun gem uninstall Uninstall gems from the local repository
geli gem list Display gems installed locally
gei gem info Show information for the given gem
geiall gem info --all Display all gem versions
geca gem cert --add Add a trusted certificate
gecr gem cert --remove Remove a trusted certificate
gecb gem cert --build Build private key and self-signed certificate
geclup gem cleanup -n Do not uninstall gem
gegi gem generate_index Generate index file for gem server
geh gem help Provide additional help
gel gem lock Generate a lockdown list of gems
geo gem open Open gem source in default editor
geoe gem open -e Open gem sources in preferred editor