From 2ca311eecd643c3132f1c51fc4833ca1e775af8d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 28 Apr 2021 01:00:36 +0300 Subject: .profile: setup rbenv --- %HOME%/.profile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '%HOME%/.profile') diff --git a/%HOME%/.profile b/%HOME%/.profile index 475b446..2595534 100644 --- a/%HOME%/.profile +++ b/%HOME%/.profile @@ -57,6 +57,12 @@ chruby_setup() { chruby_setup +rbenv_setup() { + command -v rbenv > /dev/null && eval "$( rbenv init - )" +} + +rbenv_setup + # Python-specific stuff # This is a half-assed way to automatically add your user's pip binary -- cgit v1.2.3