ohmyzsh/plugins/ruby/ruby.plugin.zsh
Marc Cornellà 4b1f6d638f
feat(ruby): add multiple gem aliases (#9005)
Mostly empty commit to fix the changelog for merge at 6f4c7f64
2021-10-19 20:07:40 +02:00

25 lines
557 B
Bash

# 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 ghlp="gem help"
alias gl="gem lock"
alias go="gem open"
alias goe="gem open -e"