Created
October 3, 2011 16:01
-
-
Save phawk/1259458 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
# custom prompt | |
# pman, open man in preview | |
pman() { man -t "$@" | open -f -a Preview; } | |
# aliases | |
alias planzaivps="ssh -p 1892 [email protected]" | |
# open files in coda | |
alias coda="open -a Coda" | |
# Set git autocompletion and PS1 integration | |
if [ -f /usr/local/Cellar/git/1.7.4.4/etc/bash_completion.d/git-completion.bash ]; then | |
. /usr/local/Cellar/git/1.7.4.4/etc/bash_completion.d/git-completion.bash | |
fi | |
GIT_PS1_SHOWDIRTYSTATE=true | |
if [ -f /opt/local/etc/bash_completion ]; then | |
. /opt/local/etc/bash_completion | |
fi | |
PS1='\[\033[0;31m\]\u\[\033[0;36m\] \w\[\033[37m\]$(__git_ps1)\[\033[00m\]\$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment