ruby.plugin.zsh 322 Bytes
Newer Older
Andrew Hodges's avatar
Andrew Hodges committed
1
2
# TODO: Make this compatible with rvm.
#       Run sudo gem on the system ruby, not the active ruby.
3
4
5
alias sgem='sudo gem'

# Find ruby file
6
alias rfind='find . -name "*.rb" | xargs grep -n'
7
8
9
10
11
12
13
14

# Shorthand Ruby
alias rb="ruby"

# Gem Command Shorthands
alias gin="gem install"
alias gun="gem uninstall"
alias gli="gem list"