ohmyzsh/plugins/ruby/ruby.plugin.zsh
Celestino Ferreira Gomes 161ca1f373 Update ruby.plugin.zsh
new aliases: 
* `rrun # ruby -run -e`
* `rhttpd # ruby -run -e httpd`
2017-08-01 23:55:01 -03:00

8 lines
251 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'
alias rhttpd='ruby -run -e httpd'
alias rrun='ruby -run -e'