Last active
July 27, 2016 14:57
-
-
Save jbarone/d84cca4624349746cd1c0ef48d0102da to your computer and use it in GitHub Desktop.
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 ls='ls -G' | |
alias ll='ls -FGlAhp' | |
alias lr='ls -R | grep ":$" | sed -e '\''s/:$//'\'' -e '\''s/[^-][^\/]*\//--/g'\'' -e '\''s/^/ /'\'' -e '\''s/-/|/'\'' | less' | |
# Bash completion | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
# set PATH so it includes user's private bin if it exists | |
if [ -d "$HOME/bin" ]; then | |
PATH="$HOME/bin:$PATH" | |
fi | |
# Go configuration | |
export GOPATH=$HOME/go | |
# Path setup for python scripts and Go | |
export PATH=/usr/local/share/python:$PATH:$GOPATH/bin | |
# Prompt configuration | |
GIT_PS1_SHOWDIRTYSTATE=true | |
GIT_PS1_SHOWUPSTREAM=true | |
export PS1='\[\e[1;36m\]\u@\h \[\e[33m\]\w\[\e[1;31m\]$(__git_ps1 " %s")\n\[\e[1;32m\]\$\[\e[0m\] ' | |
# virtualenvwrapper configuration | |
export WORKON_HOME=$HOME/.virtualenvs | |
export PROJECT_HOME=$HOME/src | |
source /usr/local/bin/virtualenvwrapper.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment