ruby.plugin.zsh 557 B

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