Skip to content

Instantly share code, notes, and snippets.

@bootjp
Created April 27, 2015 08:42
Show Gist options
  • Save bootjp/6e5be8ae04a384d71265 to your computer and use it in GitHub Desktop.
Save bootjp/6e5be8ae04a384d71265 to your computer and use it in GitHub Desktop.
.bashrc
alias ll='ls -l'
source /usr/local/git/contrib/completion/git-prompt.sh
source /usr/local/git/contrib/completion/git-completion.bash
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\[\033[32m\]\u@\h\[\033[00m\]:\[\033[34m\]\w\[\033[31m\]$(__git_ps1)\[\033[00m\]\n\$ '
export HISTCONTROL=ignoredups:erasedups
export HISTSIZE=100000
export HISTFILESIZE=100000
shopt -s histappend
export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment