Last active
November 12, 2017 20:22
-
-
Save mincong-h/44d6f5949f3f047c3e4e871c8ed869bb to your computer and use it in GitHub Desktop.
My Bash Profile
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
# Git prompt | |
export GIT_HOME=/Users/mincong/github/git | |
source $GIT_HOME/contrib/completion/git-prompt.sh | |
# Git completion; import the file corresponding to your Shell: | |
source $GIT_HOME/contrib/completion/git-completion.bash | |
# Git additional custom changes | |
GIT_PS1_SHOWDIRTYSTATE=1 | |
GIT_PS1_SHOWUNTRACKEDFILES=1 | |
GIT_PS1_SHOWSTASHSTATE=1 | |
GIT_PS1_SHOWUPSTREAM="auto verbose" | |
PS1='\W \033[38;5;015m$(__git_ps1 "(%s) ")\033[0m\$ ' | |
# MySQL | |
export PATH="/usr/local/mysql/bin:$PATH" | |
# Nuxeo | |
. /Users/mincong/github/nuxeo/scripts/gitfunctions.sh | |
export PATH=/Applications/LibreOffice.app/Contents/MacOS:$PATH | |
export PATH=/Applications/Firefox42.app/Contents/MacOS:$PATH | |
# Java | |
export MAVEN_OPTS="-Xmx4g -Xms3g" | |
export JAVA_OPTS="-Xmx4g -Xms3g" | |
# Terminal Highlight | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
# Alias | |
alias ll='ls -lG' | |
alias mvnnsu='mvn clean install -DskipTests -nsu' | |
alias mvnnvd='mvn clean install -DskipTests -nsu -pl "!nuxeo-view-designer"' | |
alias todo="vim ${HOME}/Desktop/todo.md" | |
alias grep="`which grep` --color=auto" | |
alias vimbr='vim "$(git rev-parse --abbrev-ref HEAD).md"' | |
alias chrome="open /Applications/Google\ Chrome.app/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment