summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2015-10-27 13:56:57 -0400
committerJune McEnroe <june@causal.agency>2015-10-27 13:56:57 -0400
commit4940466d00a4a804697da6c256bcad9b442970df (patch)
tree9350c7502ad9b4c46968f46bcc3f9c9ecf4ec398
parentAdd SSH config (diff)
downloadsrc-4940466d00a4a804697da6c256bcad9b442970df.tar.gz
src-4940466d00a4a804697da6c256bcad9b442970df.zip
Add chruby to zshrc
-rw-r--r--.zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 534e1032..ce6d6d82 100644
--- a/.zshrc
+++ b/.zshrc
@@ -106,5 +106,10 @@ alias hu=heroku
 
 [[ -f ~/.nvm/nvm.sh ]] && source ~/.nvm/nvm.sh
 
+if [[ -d /usr/local/share/chruby ]]; then
+  source /usr/local/share/chruby/chruby.sh
+  chruby ruby
+fi
+
 # Prevent red first prompt.
 true