Skip to content

Instantly share code, notes, and snippets.

@jbarone
Last active July 27, 2016 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbarone/d84cca4624349746cd1c0ef48d0102da to your computer and use it in GitHub Desktop.
Save jbarone/d84cca4624349746cd1c0ef48d0102da to your computer and use it in GitHub Desktop.
# 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