Browse files

zsh: Use $HOME in RVM config

  • Loading branch information...
1 parent 7c2990c commit 5895d345b045146fcd8090ce57ea1470578df1e5 @mattjbray committed Dec 30, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 .zshrc
View
9 .zshrc
@@ -55,5 +55,12 @@ alias git-dotfiles="git --git-dir=$HOME/.dotfiles.git/ --work-tree=$HOME"
# Alias for screen
alias s="screen"
+#
+# RVM
+#
+
# Load RVM into a shell session *as a function*
-[[ -s "/home/matt/.rvm/scripts/rvm" ]] && source "/home/matt/.rvm/scripts/rvm"
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
+
+# Add RVM to PATH for scripting
+export PATH=$PATH:$HOME/.rvm/bin

0 comments on commit 5895d34

Please sign in to comment.