1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 18:31:59 +00:00
ohmyzsh/plugins/ruby/ruby.plugin.zsh
Brandon Weaver e273cf004e Update ruby.plugin.zsh (#2117)
Added some Gem command shorthands, and ruby shorthand
2017-11-14 06:37:31 -08:00

14 lines
322 B
Bash

# TODO: Make this compatible with rvm.
# Run sudo gem on the system ruby, not the active ruby.
alias sgem='sudo gem'
# Find ruby file
alias rfind='find . -name "*.rb" | xargs grep -n'
# Shorthand Ruby
alias rb="ruby"
# Gem Command Shorthands
alias gin="gem install"
alias gun="gem uninstall"
alias gli="gem list"