Last active
August 29, 2015 14:07
-
-
Save giovaneliberato/4933004e3ad1031d1706 to your computer and use it in GitHub Desktop.
aliases.sh
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
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin | |
alias gts='git status' | |
alias gcm='git commit -m' | |
alias gpl='git pull' | |
alias gps='git pull' | |
alias gpr='git pull --rebase' | |
alias gadd='git add' | |
alias gcp='git cherry-pick' | |
alias runserver='./gradlew jettyRun' | |
alias runtests='./gradlew clean build' | |
fortune | cowsay | |
function gitbranch(){ | |
if git branch > /dev/null 2>&1; then | |
echo -e "$(git branch 2> /dev/null | grep "^*" | sed "s/^* //")" | |
fi | |
} | |
PS1='\[\033[01;30m\]$(gitbranch)\[\033[1;37m\][\[\033[01;34m\]\w\[\033[1;37m\]]\[\033[00m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment