Skip to content

Instantly share code, notes, and snippets.

@cjohnsto88
Created November 5, 2016 07:58
Show Gist options
  • Save cjohnsto88/6d569b6269865b87cc52fa5e649b0ee2 to your computer and use it in GitHub Desktop.
Save cjohnsto88/6d569b6269865b87cc52fa5e649b0ee2 to your computer and use it in GitHub Desktop.
My bashrc
#export JAVA_HOME=`/usr/libexec/java_home`
#export HOMEBREW_GITHUB_API_TOKEN=
export HOMEBREW_NO_ANALYTICS=1
#less syntax highlighting
#export LESSOPEN="| /usr/local/bin/src-hilite-lesspipe.sh %s"
#export LESS=' -R '
#alias less='less -m -N -g -i -J --underline-special --SILENT'
alias mv="mv -v"
alias rm="rm -v"
export PATH="/usr/local/sbin:$PATH"
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
if [ -f `brew --prefix`/etc/bash_completion.d/git-prompt.sh ]; then
export GIT_PS1_SHOWDIRTYSTATE=1
export GIT_PS1_SHOWCOLORHINTS=1
export GIT_PS1_SHOWUNTRACKEDFILES=1
export PROMPT_COMMAND='__git_ps1 "\h \W" "\\\$ "'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment