diff --git a/plugins/README.markdown b/plugins/README.markdown index 6467150..6c45989 100644 --- a/plugins/README.markdown +++ b/plugins/README.markdown @@ -10,15 +10,16 @@ * __emoji-clock__ - The current time with half hour accuracy as an emoji symbol * __extract__ - Plugin to expand or extract bundled & compressed files * __fry__ - starts [fry](https://github.com/terlar/fry) Simple ruby version manager for fish +* __gem__ Ruby gem integration * __gi__ - [gitignore.io](http://gitignore.io) cli for fish -* __jump__ - A port of [Jeroen Janssens' "jump" utility](http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-filesystem-from-the-command-line.html) +* __jump__ - A port of [Jeroen Janssens' "jump" utility](http://jeroenjanssens.com/2013/08/16/quickly-navigate-your-filesystem-from-the-command-line.html) * __localhost__ - Opens http://localhost:3000 (and other ports) in the default browser * __mc__ - Plugin to start mc with a shell compliant (bash). * __ndenv__ - helpers for [another node.js version manager](https://github.com/riywo/ndenv) * __node__ - adds locally installed NodeJS npm binary executable modules to the path * __percol__ - browse your fish history with [percol](https://github.com/mooz/percol) * __peco__ - browse your fish history with [peco](https://github.com/peco/peco) -* __php__ - manage phphttp server +* __php__ - manage phphttp server * __plenv__ - [plenv](https://github.com/tokuhirom/plenv) perl binary manager integration * __pyenv__ - [Simple Python Version Management](https://github.com/yyuu/pyenv) integration * __python__ - set of shortcuts to python based utilities (pybeatifyjson - clean JSON files, pyclean - remove old .pyc, pyhttp & pysmtp - simple HTTP & SMTP servers) diff --git a/plugins/gem/README.md b/plugins/gem/README.md new file mode 100644 index 0000000..4810e3d --- /dev/null +++ b/plugins/gem/README.md @@ -0,0 +1,16 @@ +# gem +Ruby gem support for fish. + +## Install +Add `gem` to your list of fish plugins in your `config.fish`. + +Example: + + set fish_plugins gem bundler + +## Configuration +Set `GEM_ROOT` in your `config.fish`. + +Example: + + set GEM_ROOT ~/.gem/ruby/2.1.0 diff --git a/plugins/gem/gem.load b/plugins/gem/gem.load new file mode 100644 index 0000000..d2a2878 --- /dev/null +++ b/plugins/gem/gem.load @@ -0,0 +1,4 @@ +if test -n "$GEM_ROOT" + set -gx GEM_HOME $GEM_ROOT + _append_path $GEM_ROOT/bin +end