ruby.plugin.zsh 601 B

12345678910111213141516171819202122232425
  1. # TODO: Make this compatible with rvm.
  2. # Run sudo gem on the system ruby, not the active ruby.
  3. alias sgem='sudo gem'
  4. # Find ruby file
  5. alias rfind='find . -name "*.rb" | xargs grep -n'
  6. # Shorthand Ruby
  7. alias rb="ruby"
  8. # Gem Command Shorthands
  9. alias gin="gem install"
  10. alias gun="gem uninstall"
  11. alias gli="gem list"
  12. alias gi="gem info"
  13. alias giall="gem info --all"
  14. alias gca="gem cert --add"
  15. alias gcr="gem cert --remove"
  16. alias gcb="gem cert --build"
  17. alias gclup="gem cleanup -n"
  18. alias ggi="gem generate_index"
  19. alias gh="gem help"
  20. alias gl="gem lock"
  21. alias go="gem open"
  22. alias goe="gem open -e"