mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
chruby support
This commit is contained in:
parent
8f87375bad
commit
f5d7ca34b8
1 changed files with 7 additions and 0 deletions
7
shell/chruby
Executable file
7
shell/chruby
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
if [[ -f /usr/local/opt/chruby/share/chruby/chruby.sh ]]; then
|
||||
source /usr/local/opt/chruby/share/chruby/chruby.sh
|
||||
|
||||
if [[ -f $HOME/.ruby-version ]]; then
|
||||
chruby $(cat $HOME/.ruby-version)
|
||||
fi
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue