]> git.rmz.io Git - dotfiles.git/blobdiff - zsh/plugins/ruby/ruby.plugin.zsh
merge oh-my-zsh into subdir
[dotfiles.git] / 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 (file)
index 0000000..38e4d7c
--- /dev/null
@@ -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'