mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
rbenv + prune obsolete paths
This commit is contained in:
parent
3ea764e542
commit
ea07da5133
1 changed files with 5 additions and 6 deletions
11
profile
11
profile
|
|
@ -20,15 +20,14 @@ PATH=/usr/local/bin:/usr/local/sbin:$PATH
|
||||||
NODE_PATH=/usr/local/lib/node
|
NODE_PATH=/usr/local/lib/node
|
||||||
export NODE_PATH
|
export NODE_PATH
|
||||||
|
|
||||||
# Ruby Gems
|
# rbenv
|
||||||
test -d /var/lib/gems/1.8/bin && PATH="$PATH:/var/lib/gems/1.8/bin" RUBYOPT="-rubygems"
|
eval "$(rbenv init -)"
|
||||||
export PATH RUBYOPT
|
|
||||||
# Gems on OSX homebrew
|
|
||||||
test -d /usr/local/Cellar/ruby/1.9.2-p290/bin && PATH="/usr/local/Cellar/ruby/1.9.2-p290/bin:$PATH"
|
|
||||||
export PATH
|
|
||||||
|
|
||||||
|
# homebrew python
|
||||||
test -d /usr/local/share/python && PATH="/usr/local/share/python:$PATH"
|
test -d /usr/local/share/python && PATH="/usr/local/share/python:$PATH"
|
||||||
|
test -d /usr/local/share/python3 && PATH="/usr/local/share/python3:$PATH"
|
||||||
|
|
||||||
|
export PATH
|
||||||
|
|
||||||
# default editor
|
# default editor
|
||||||
EDITOR=vim
|
EDITOR=vim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue