From 2b4bc38eea95a8b5799cc1acd470acbb338fe72a Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Tue, 17 Dec 2013 12:54:21 -0800 Subject: [PATCH] Get rbenv PATH working by putting PATH stuff in zprofile --- .shrc | 17 +++++++++++++++-- .zprofile | 1 + .zshrc | 3 +-- create_symlinks | 1 + 4 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 .zprofile diff --git a/.shrc b/.shrc index c1edd34..afc699f 100644 --- a/.shrc +++ b/.shrc @@ -1,5 +1,19 @@ -export PATH=$HOME/.rbenv/bin:$HOME/gocode/bin:/usr/local/share/npm/bin:$HOME/bin:$HOME/work/facter/bin:$HOME/work/puppet/sbin:$HOME/work/puppet/bin:$HOME/work/puppet-module-tool/bin:/usr/local/bin:/usr/local/sbin:$HOME/android-sdk-macosx/tools:$HOME/work/hub/bin:$PATH export RUBYLIB=$HOME/work/myqa-commandline/lib:$HOME/work/facter/lib:$HOME/work/puppet/lib:$HOME/work/git-rank/lib:$HOME/work/hub/lib:$RUBYLIB + +### Added by the Heroku Toolbelt +export PATH="/usr/local/heroku/bin:$PATH" + +export PATH="$HOME/.rbenv/bin:$PATH" +export PATH="$HOME/gocode/bin:$PATH" +export PATH="/usr/local/share/npm/bin:$PATH" +export PATH="$HOME/bin:$PATH" +export PATH="$HOME/work/facter/bin:$PATH" +export PATH="$HOME/work/puppet/sbin:$PATH" +export PATH="$HOME/work/puppet/bin:$PATH" +export PATH="$HOME/work/puppet-module-tool/bin:$PATH" +export PATH="/usr/local/bin:/usr/local/sbin:$PATH" +export PATH="$HOME/work/hub/bin:$PATH" + #export RUBYLIB=$HOME/work/facter/lib:$HOME/work/puppet/lib:$HOME/work/git-rank/lib:$HOME/work/hub/lib:$RUBYLIB #export RUBYOPT=rubygems #export ARCHFLAGS='-arch x86_64' export CC=/usr/bin/gcc-4.2 @@ -15,4 +29,3 @@ export EDITOR=/usr/bin/vim export GOPATH=/Users/matt/gocode source ~/.secret -eval "$(rbenv init -)" diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..30411ed --- /dev/null +++ b/.zprofile @@ -0,0 +1 @@ +source ~/.shrc diff --git a/.zshrc b/.zshrc index 3b0a771..5ae369a 100644 --- a/.zshrc +++ b/.zshrc @@ -46,7 +46,6 @@ fi # Uncomment following line if you want to disable colors in ls # export DISABLE_LS_COLORS="true" -source ~/.shrc source ~/.sh_aliases ## Command history configuration @@ -129,5 +128,5 @@ bindkey -e #fpath=(/usr/local/share/zsh-completions $fpath) ### Added by the Heroku Toolbelt -export PATH="/usr/local/heroku/bin:$PATH" if [[ -s ~/.rvm/scripts/rvm ]] ; then source ~/.rvm/scripts/rvm ; fi +eval "$(rbenv init -)" diff --git a/create_symlinks b/create_symlinks index 1609de5..8c2a986 100755 --- a/create_symlinks +++ b/create_symlinks @@ -28,6 +28,7 @@ sub file_names .vim .vimrc .vimrc_files + .zprofile .zshrc .zshenv bin/diff_painter.pl