diff --git a/plugins/chruby/chruby.plugin.sh b/plugins/chruby/chruby.plugin.sh new file mode 100644 index 0000000..57e8ee1 --- /dev/null +++ b/plugins/chruby/chruby.plugin.sh @@ -0,0 +1,9 @@ +THISDIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +scripts=" +`brew --prefix`/opt/chruby/share/chruby/chruby.sh +`brew --prefix`/opt/chruby/share/chruby/auto.sh" + +for script in $scripts; do + [[ -r "$script" ]] && . "$script" +done