Created
July 21, 2013 05:10
-
-
Save prtksxna/6047561 to your computer and use it in GitHub Desktop.
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
alias andlog='adb logcat *:W| /Users/prateeksaxena/work/dev/utilities/colorlogcat.py' | |
alias fprofile='/Applications/Firefox.app/Contents/MacOS/firefox -profilemanager' | |
alias e='emacs' | |
alias ls='ls -G' | |
alias l='ls -la' | |
alias c='cd' | |
alias g='git' | |
alias cat='less' | |
alias rm='rm' | |
alias cp='cp -i' | |
alias mv='mv -i' | |
alias sup='uptime' | |
alias gsup='git log --pretty=format:"%h - %an - %ar - %s"' | |
alias ssup='top' | |
alias more='less' | |
alias fuckup='echo Its all right. You can fix everything' | |
alias goodbye='sudo shutdown -h now' | |
alias reload="source ~/.bash_profile" | |
# Brew Installs | |
alias emacs='/usr/local/Cellar/emacs/24.2/bin/emacs' | |
# Git Branch | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
# Prompt | |
PS1="\n\n\033[01;32m\]prtksxna@mace-windu \[\033[01;34m\]\w \[\033[0;31m\]\$(parse_git_branch)\n:> \[\033[0;33m\]" | |
PS2=':> ' |
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
[user] | |
name = Prateek Saxena | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = true | |
pager = true | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow | |
frag = magenta | |
old = red | |
new = green | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[alias] | |
ci = commit -a -m | |
cm = commit -m | |
pom = push origin master | |
pod = push origin dev | |
phm = push heroku master | |
co = checkout | |
st = status | |
praise = blame | |
di = diff | |
tree = log --graph --pretty=oneline | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
[core] | |
editor = emacs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment