Skip to content

Commit

Permalink
Get rbenv PATH working by putting PATH stuff in zprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
mmrobins committed Dec 17, 2013
1 parent 0cb0beb commit 2b4bc38
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
17 changes: 15 additions & 2 deletions .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
Expand All @@ -15,4 +29,3 @@ export EDITOR=/usr/bin/vim

export GOPATH=/Users/matt/gocode
source ~/.secret
eval "$(rbenv init -)"
1 change: 1 addition & 0 deletions .zprofile
@@ -0,0 +1 @@
source ~/.shrc
3 changes: 1 addition & 2 deletions .zshrc
Expand Up @@ -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
Expand Down Expand Up @@ -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 -)"
1 change: 1 addition & 0 deletions create_symlinks
Expand Up @@ -28,6 +28,7 @@ sub file_names
.vim
.vimrc
.vimrc_files
.zprofile
.zshrc
.zshenv
bin/diff_painter.pl
Expand Down

0 comments on commit 2b4bc38

Please sign in to comment.