From 43e4eac1947b92a69fd0d2018bfe874fad68c35c Mon Sep 17 00:00:00 2001 From: nathairtras Date: Thu, 23 Oct 2014 12:36:54 -0700 Subject: [PATCH] Adding configs --- runcoms/zpreztorc | 6 ++++++ runcoms/zprofile | 8 ++++++++ runcoms/zprofile.d/.zprofile.d | 1 + runcoms/zprofile.d/python | 12 ++++++++++++ runcoms/zprofile.d/ruby | 1 + runcoms/zprofile.d/vagrant | 1 + 6 files changed, 29 insertions(+) create mode 120000 runcoms/zprofile.d/.zprofile.d create mode 100644 runcoms/zprofile.d/python create mode 100644 runcoms/zprofile.d/ruby create mode 100644 runcoms/zprofile.d/vagrant diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc index a54fdb02..3dd626cf 100644 --- a/runcoms/zpreztorc +++ b/runcoms/zpreztorc @@ -32,6 +32,12 @@ zstyle ':prezto:load' pmodule \ 'spectrum' \ 'utility' \ 'completion' \ + 'git' \ + 'homebrew' \ + 'tmux' \ + 'osx' \ + 'wakeonlan' \ + 'syntax-highlighting' \ 'prompt' # diff --git a/runcoms/zprofile b/runcoms/zprofile index 08d39be1..282464cb 100644 --- a/runcoms/zprofile +++ b/runcoms/zprofile @@ -75,3 +75,11 @@ TMPPREFIX="${TMPDIR%/}/zsh" if [[ ! -d "$TMPPREFIX" ]]; then mkdir -p "$TMPPREFIX" fi + +# Load all of our environment variables +# Source Environment Variables +for i in ${ZDOTDIR:-$HOME}/.zprofile.d/*; do + if [ -r "$i" ]; then + . $i + fi +done diff --git a/runcoms/zprofile.d/.zprofile.d b/runcoms/zprofile.d/.zprofile.d new file mode 120000 index 00000000..29305bfe --- /dev/null +++ b/runcoms/zprofile.d/.zprofile.d @@ -0,0 +1 @@ +.zprofile.d \ No newline at end of file diff --git a/runcoms/zprofile.d/python b/runcoms/zprofile.d/python new file mode 100644 index 00000000..46a81459 --- /dev/null +++ b/runcoms/zprofile.d/python @@ -0,0 +1,12 @@ +#Pip +export PIP_REQUIRE_VIRTUALENV=true +export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache + +#Virtual Environments +export WORKON_HOME=$HOME/.virtualenvs +export PROJECT_HOME=$HOME/Devel + +#Virtual Environment Wrapper +export VIRTUALENVWRAPPER_PROJECT_FILENAME=.project +export VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh +export VIRTUALENVWRAPPER_HOOK_DIR=$HOME/.virtualenvs diff --git a/runcoms/zprofile.d/ruby b/runcoms/zprofile.d/ruby new file mode 100644 index 00000000..67d9cd70 --- /dev/null +++ b/runcoms/zprofile.d/ruby @@ -0,0 +1 @@ +export RBENV_ROOT=/usr/local/var/rbenv diff --git a/runcoms/zprofile.d/vagrant b/runcoms/zprofile.d/vagrant new file mode 100644 index 00000000..aeaa215e --- /dev/null +++ b/runcoms/zprofile.d/vagrant @@ -0,0 +1 @@ +export VAGRANT_VMWARE_FUSION_APP="$HOME/Applications/VMWare Fusion.app"