Created
July 9, 2015 11:45
-
-
Save bittner/916ff3c1ddcf29f947ae to your computer and use it in GitHub Desktop.
.bash_aliases for Mac
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
# .bash_aliases | |
# Source: http://techie-notebook.blogspot.ch/2012/04/making-your-terminal-look-pretty-on-mac.html | |
# 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