Skip to content

Instantly share code, notes, and snippets.

Created July 9, 2015 11:45
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
.bash_aliases for Mac
# .bash_aliases
# Source:
# enables color in the terminal bash shell
export CLICOLOR=1
# sets up the color scheme for list
export LSCOLORS=gxfxcxdxbxegedabagacad
# enables color for iTerm
export TERM=xterm-color
# Color Prompt
#export PS1="\[\e[36;1m\]\u@\[\e[32;1m\]\w> \[\e[0m\]"
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
# sets up proper alias commands when called
alias ls='ls -G'
alias la='ls -hl'
alias ll='ls -lAF'
# Git aliases for convenience
alias gitadd='git add -v'
alias gitstaged='git diff --staged'
alias gitpullall='for BRANCH in live stage develop; do git checkout $BRANCH && git pull; done'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment