Skip to content

Instantly share code, notes, and snippets.

@dongsu
Last active July 7, 2017 23:56
Show Gist options
  • Save dongsu/21b82cd28fe860cddaebc0a599121376 to your computer and use it in GitHub Desktop.
Save dongsu/21b82cd28fe860cddaebc0a599121376 to your computer and use it in GitHub Desktop.
ulimit -n 65536 65536
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
export PATH=$JAVA_HOME/bin:$PATH
export PATH=$PATH:~/.fabric8/bin
export PATH="/usr/local/sbin:$PATH"
export PATH=$PATH:/usr/local/bin
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\u@\h \[\033[32m\]\W\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment