浏览代码

Update ruby.plugin.zsh (#2117)

Added some Gem command shorthands, and ruby shorthand
Brandon Weaver 6 年之前
父节点
当前提交
e273cf004e
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      plugins/ruby/ruby.plugin.zsh

+ 8 - 0
plugins/ruby/ruby.plugin.zsh

@@ -4,3 +4,11 @@ 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"