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 ZshYou'll probably need to sudo mv /etc/{zshenv,zprofile}
to ensure the PATH
is set correctly. (More info).
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