diff options
author | 2022-10-03 21:42:20 +0530 | |
---|---|---|
committer | 2022-10-03 21:42:20 +0530 | |
commit | af120ab348f2e1a5a39dec035ed9dcf84189a64e (patch) | |
tree | 2a3aadd7ce1b7b771dfe3fe7c983569726c8d7ed /zsh/oh-my-zsh/plugins/jruby | |
download | dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.gz dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.tar.bz2 dotfiles-af120ab348f2e1a5a39dec035ed9dcf84189a64e.zip |
dotfiles
Diffstat (limited to 'zsh/oh-my-zsh/plugins/jruby')
-rw-r--r-- | zsh/oh-my-zsh/plugins/jruby/README.md | 21 | ||||
-rw-r--r-- | zsh/oh-my-zsh/plugins/jruby/jruby.plugin.zsh | 4 |
2 files changed, 25 insertions, 0 deletions
diff --git a/zsh/oh-my-zsh/plugins/jruby/README.md b/zsh/oh-my-zsh/plugins/jruby/README.md new file mode 100644 index 0000000..821a46d --- /dev/null +++ b/zsh/oh-my-zsh/plugins/jruby/README.md @@ -0,0 +1,21 @@ +# JRuby plugin + +This plugin adds aliases for [JRuby](https://www.jruby.org/). + +To use it, add `jruby` to the plugins array in your zshrc file: + +```zsh +plugins=(... jruby) +``` + +## Requirements + +This plugin assumes you already have jruby installed and available in your [path](https://www.jruby.org/getting-started). + +## Aliases + +| Alias | Command | +| ------------ | ---------------------------------------------------------------- | +| `jrspec` | `jruby --debug -S rspec --debug` | +| `jprofile` | `jruby --profile.api -S rspec` | +| `jexec` | `jruby -S` | diff --git a/zsh/oh-my-zsh/plugins/jruby/jruby.plugin.zsh b/zsh/oh-my-zsh/plugins/jruby/jruby.plugin.zsh new file mode 100644 index 0000000..bb7975b --- /dev/null +++ b/zsh/oh-my-zsh/plugins/jruby/jruby.plugin.zsh @@ -0,0 +1,4 @@ +# Aliases +alias jrspec='jruby --debug -S rspec --debug' +alias jprofile='jruby --profile.api -S rspec' +alias jexec='jruby -S' |