Last active
December 23, 2015 06:49
-
-
Save jalp/6596278 to your computer and use it in GitHub Desktop.
My own bash_profile
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
# aliases | |
alias cd..="cd .." | |
alias l="ls -al" | |
alias lp="ls -p" | |
alias h=history | |
# Mongo | |
export MONGO_PATH=/usr/local/mongodb | |
export PATH=$PATH:$MONGO_PATH/bin | |
# Local path | |
PATH=$PATH:. | |
# enables color in the terminal bash shell export | |
CLICOLOR=1 | |
#enables color for iTerm | |
export TERM=xterm-color | |
# Prompt info | |
if [ -f /usr/local/etc/bash_completion.d/git-prompt.sh ]; then | |
. /usr/local/etc/bash_completion.d/git-prompt.sh | |
GIT_PS1_SHOWDIRTYSTATE=true | |
GIT_PS1_SHOWCOLORHINTS=true | |
GIT_PS2_UNTRACKEDFILES=true | |
Color_Off="\[\033[0m\]" | |
Yellow="\[\033[0;33m\]" | |
PROMPT_COMMAND='__git_ps1 "${VIRTUAL_ENV:+($Yellow`basename $VIRTUAL_ENV`$Color_Off)}" "\u@\h:\W\\$ " "%s:"' | |
fi | |
# Bash completion | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
# Virtualenvs configuration | |
# pip should only run if there is a virtualenv currently activated | |
export PIP_REQUIRE_VIRTUALENV=true | |
# cache pip-installed packages to avoid re-downloading | |
export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache | |
# Compiling python libraries dependencies | |
export CFLAGS=-Qunused-arguments | |
export CPPFLAGS=-Qunused-arguments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment