Last active
August 29, 2015 14:15
-
-
Save mcenirm/086c285b72e8ad37dddf to your computer and use it in GitHub Desktop.
.bash_profile on Mac OS X for homebrew, python
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
# Github API token, so that homebrew doesn't hit such a low rate limit | |
if [ -r ${HOME}/.github/api_token ] ; then | |
export HOMEBREW_GITHUB_API_TOKEN=$(< ${HOME}/.github/api_token) | |
fi | |
# Per-user python modules-installed executables | |
export PATH=${HOME}/Library/Python/$(python -c 'from sys import version_info as v; print(".".join(map(str,v[0:2])))')/bin${PATH+:${PATH}} | |
# Need a readlink that works like on linux | |
export PATH=/usr/local/opt/coreutils/libexec/gnubin${PATH+:${PATH}} | |
export MANPATH=/usr/local/opt/coreutils/libexec/gnuman:${MANPATH} | |
export GREP_OPTIONS='--color=auto' | |
test -f ~/.bashrc && source ~/.bashrc | |
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
alias l.='ls -d .* --color=auto' | |
alias ll='ls -l --color=auto' | |
alias ls='ls --color=auto' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment