X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8c7911883ed8b42987c9179512d60dbb3681dc2f..698483f78280d2b5d5af36b1b82987d5b7b11f9e:/zsh/plugins/ruby/ruby.plugin.zsh diff --git a/zsh/plugins/ruby/ruby.plugin.zsh b/zsh/plugins/ruby/ruby.plugin.zsh new file mode 100644 index 0000000..38e4d7c --- /dev/null +++ b/zsh/plugins/ruby/ruby.plugin.zsh @@ -0,0 +1,6 @@ +# 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'