A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/postmodern/chruby/wiki/Vim below:

Vim · postmodern/chruby Wiki · GitHub

For Bash

In order to use chruby from the !sh shell, you need to change vim's shell:

set shell=$SHELL

This will cause vim to spawn a login shell, which will load chruby.

For Zsh

You'll probably need to sudo mv /etc/{zshenv,zprofile} to ensure the PATH is set correctly. (More info).

Auto-Switching

If you have auto.sh loaded, you can cd into a project with a .ruby-version file and invoke the editor from the command-line. This will cause the editor to inherit the environment variables setup by chruby.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4