0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
ohmyzsh/plugins/ruby/ruby.plugin.zsh
Sayan Roy edbd86cd95
Updating some gem command reference
# Updating some gem command reference
gem_info,gem help , etc.
2020-06-07 12:14:55 +05:30

25 lines
601 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"
alias gi="gem info"
alias giall="gem info --all"
alias gca="gem cert --add"
alias gcr="gem cert --remove"
alias gcb="gem cert --build"
alias gclup="gem cleanup -n"
alias ggi="gem generate_index"
alias gh="gem help"
alias gl="gem lock"
alias go="gem open"
alias goe="gem open -e"