diff options
author | Marvin Borner | 2020-03-16 23:33:42 +0100 |
---|---|---|
committer | Marvin Borner | 2020-03-16 23:33:42 +0100 |
commit | 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 (patch) | |
tree | 719da1c7fe5dabb872fe9ff1582c39b55ccd488e /.oh-my-zsh/plugins/ruby | |
parent | e5d38956336ab1be954bdbd12808c5f98f8bd925 (diff) |
Well I'm using Arch again
Diffstat (limited to '.oh-my-zsh/plugins/ruby')
-rw-r--r-- | .oh-my-zsh/plugins/ruby/README.md | 20 | ||||
-rw-r--r-- | .oh-my-zsh/plugins/ruby/ruby.plugin.zsh | 14 |
2 files changed, 0 insertions, 34 deletions
diff --git a/.oh-my-zsh/plugins/ruby/README.md b/.oh-my-zsh/plugins/ruby/README.md deleted file mode 100644 index ad2755b..0000000 --- a/.oh-my-zsh/plugins/ruby/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# Ruby plugin - -This plugin adds aliases for common commands used in dealing with [Ruby](https://www.ruby-lang.org/en/) and [gem packages](https://rubygems.org/). - -To use it, add `ruby` to the plugins array in your zshrc file: - -```zsh -plugins=(... ruby) -``` - -## Aliases - -| Alias | Command | Description | -|-------|----------------------------------------|------------------------------------------------------| -| rb | `ruby` | The Ruby command | -| sgem | `sudo gem` | Run sudo gem on the system ruby, not the active ruby | -| rfind | `find . -name "*.rb" \| xargs grep -n` | Find ruby file | -| gin | `gem install` | Install a gem into the local repository | -| gun | `gem uninstall` | Uninstall gems from the local repository | -| gli | `gem list` | Display gems installed locally | diff --git a/.oh-my-zsh/plugins/ruby/ruby.plugin.zsh b/.oh-my-zsh/plugins/ruby/ruby.plugin.zsh deleted file mode 100644 index 177b35b..0000000 --- a/.oh-my-zsh/plugins/ruby/ruby.plugin.zsh +++ /dev/null @@ -1,14 +0,0 @@ -# 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' - -# Shorthand Ruby -alias rb="ruby" - -# Gem Command Shorthands -alias gin="gem install" -alias gun="gem uninstall" -alias gli="gem list" |