Skip to content

Instantly share code, notes, and snippets.

@mincong-h
Last active November 12, 2017 20:22
Show Gist options
  • Select an option

  • Save mincong-h/44d6f5949f3f047c3e4e871c8ed869bb to your computer and use it in GitHub Desktop.

Select an option

Save mincong-h/44d6f5949f3f047c3e4e871c8ed869bb to your computer and use it in GitHub Desktop.
My Bash Profile
# 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 $(__git_ps1 "(%s) ")\$ '
# 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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment