From 56d26753846e420ef424c073410f582b7e9935da Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 31 Aug 2014 02:51:12 -0400 Subject: [PATCH] Init pyenv-virtualenv and add Go-lang env --- zshrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 7f7060d7..a031be3c 100644 --- a/zshrc +++ b/zshrc @@ -23,4 +23,11 @@ fi # Init extra niceties command_exists "fasd" && eval "$(fasd --init auto)" command_exists "rbenv" && eval "$(rbenv init - --no-rehash)" -command_exists "pyenv" && eval "$(pyenv init -)" +if command_exists "pyenv"; then + eval "$(pyenv init -)" + eval "$(pyenv virtualenv-init -)" +fi +if command_exists "go"; then + export GOPATH="$HOME/Dropbox/Projects/dev/go" + export PATH="$GOPATH/bin:$PATH" +fi