Last active
July 10, 2017 23:06
-
-
Save QinMing/d166cfd6b4a3a078669958d832a7f22d 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 grep='grep --color=auto' | |
alias l="ls -alhtr" | |
alias g='git' | |
alias gs="git status" | |
alias gl="git l" | |
alias gd="git diff" | |
alias gb="git branch" | |
alias gp="git pull" | |
function parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1='\h \[\e[34m\]\T\[\e[0m\] \w$(parse_git_branch)$ ' | |
HISTFILESIZE=2048 | |
# Loading Simple Virtualenv Wrapper https://github.com/QinMing/simple-virtualenv-wrapper | |
source $HOME/git/simple-virtualenv-wrapper/ve.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment