mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
Add gem
plugin
This commit is contained in:
parent
baf5487e73
commit
51a86eaa1a
@ -10,6 +10,7 @@
|
||||
* __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)
|
||||
* __localhost__ - Opens http://localhost:3000 (and other ports) in the default browser
|
||||
|
16
plugins/gem/README.md
Normal file
16
plugins/gem/README.md
Normal file
@ -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
|
4
plugins/gem/gem.load
Normal file
4
plugins/gem/gem.load
Normal file
@ -0,0 +1,4 @@
|
||||
if test -n "$GEM_ROOT"
|
||||
set -gx GEM_HOME $GEM_ROOT
|
||||
_append_path $GEM_ROOT/bin
|
||||
end
|
Loading…
Reference in New Issue
Block a user