Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:coarsesand/dotfiles
- Loading branch information
Showing
5 changed files
with
71 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,46 @@ | ||
# Personal bin dir | ||
PATH=$PATH:$HOME/bin | ||
EDITOR=vim | ||
CLICOLOR=1 | ||
|
||
# Homebrew | ||
# Mac settings | ||
if [[ `uname` = 'Darwin' ]] | ||
then | ||
PATH=/usr/local/sbin:$PATH | ||
LSCOLORS=exBxcxCxbxgxGxdxdxGeEx | ||
PATH=/usr/local/sbin:$PATH # Homebrew | ||
fi | ||
|
||
# Pythons | ||
if [[ -d /usr/local/share/python ]] | ||
then PATH=/usr/local/share/python:$PATH | ||
then | ||
PATH=/usr/local/share/python:$PATH | ||
fi | ||
|
||
if [[ -d /usr/local/share/python3 ]] | ||
then PATH=/usr/local/share/python3:$PATH | ||
then | ||
PATH=/usr/local/share/python3:$PATH | ||
fi | ||
|
||
# rbenv | ||
# Get it on the path first is ~/.rbenv exists | ||
if [[ -d ~/.rbenv ]] | ||
then | ||
PATH=$HOME/.rbenv/bin:$PATH | ||
fi | ||
|
||
if which rbenv &>/dev/null | ||
then eval "$(rbenv init -)" | ||
then | ||
eval "$(rbenv init -)" | ||
fi | ||
|
||
# virtualenvwrapper | ||
WORKON_HOME=$HOME/.virtualenvs/ | ||
PIP_VIRTUALENV_BASE=$WORKON_HOME | ||
PIP_RESPECT_VIRTUALENV=true | ||
VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python | ||
VIRTUAL_ENV_DISABLE_PROMPT=true | ||
|
||
if which virtualenvwrapper_lazy.sh &>/dev/null | ||
then source virtualenvwrapper_lazy.sh | ||
then | ||
source virtualenvwrapper_lazy.sh | ||
fi | ||
|
||
# Personal bin dir | ||
PATH=$HOME/bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters