Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

zsh: Use $HOME in RVM config

  • Loading branch information...
commit 5895d345b045146fcd8090ce57ea1470578df1e5 1 parent 7c2990c
@mattjbray authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.