Created
September 15, 2011 23:07
-
-
Save marioBonales/1220746 to your computer and use it in GitHub Desktop.
.bashrc
This file contains hidden or 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
## | |
# Your previous /Users/mariob/.profile file was backed up as /Users/mariob/.profile.macports-saved_2011-07-26_at_11:15:25 | |
## | |
# MacPorts Installer addition on 2011-07-26_at_11:15:25: adding an appropriate PATH variable for use with MacPorts. | |
export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:$PATH | |
# Finished adapting your PATH environment variable for use with MacPorts. | |
export EDITOR='mvim' | |
PROMPT_COMMAND=$PROMPT_COMMAND${PROMPT_COMMAND:+;}'PS1="\[\e[1;31m\]\u \[\e[0m\]\[\e[01m\]\t\[\e[0m\] \[\e[1;32m\]`~/bin/branch.sh`\[\e[0m\]\[\e[1;35m\]`~/bin/stash.sh`\[\e[0m\]\[\e[33m\]\w \[\e[0m\]\[\e[1m\]\$\[\e[0m\] "' | |
alias mysql='mysql5' | |
export CLICOLOR=1 | |
export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
if [ -f /opt/local/etc/bash_completion ]; then | |
. /opt/local/etc/bash_completion | |
fi | |
alias gs='git status' | |
alias gc='git checkout' | |
alias g='git status' | |
alias gb='git branch' | |
alias gd='git branch -D' | |
alias gp='git pull' | |
alias pull='git pull' | |
alias push='git push' | |
alias gpsh='git push' | |
alias l='ls' | |
function dif(){ | |
mvimdiff <(git show HEAD~1:$1) $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment