/chruby-fish

Thin wrapper around chruby to make it work with the Fish shell

Primary LanguageShellMIT LicenseMIT

chruby-fish

Build Status

Thin wrapper around chruby to make it work with the Fish shell

install

note that chruby-fish is dependent on chruby, please install it first.

wget -O chruby-fish-0.8.2.tar.gz https://github.com/JeanMertz/chruby-fish/archive/v0.8.2.tar.gz
tar -xzvf chruby-fish-0.8.2.tar.gz
cd chruby-fish-0.8.2/
sudo make install

Homebrew

chruby-fish can also be installed with homebrew:

brew install chruby-fish

Or the absolute latest chruby-fish can be installed from source:

brew install chruby-fish --HEAD

chruby is installed as a dependency of chruby-fish, if you installed chruby manually, add the --without-chruby flag to the above commands.

Arch Linux

chruby-fish is included in the AUR:

yay -S chruby-fish

configuration

Add the following line to your config.fish file:

source /usr/local/share/chruby/chruby.fish

To enable auto-switching, also add the auto.fish file:

source /usr/local/share/chruby/auto.fish

If you use a custom install location for chruby, use the CHRUBY_ROOT variable to point in the right direction.

For more general instructions, see the chruby documentation.

License & Authors

Author: Jean Mertz - jean@mertz.fm

The MIT License (MIT)

Copyright (c) Jean Mertz <jean@mertz.fm>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.