Skip to content

Instantly share code, notes, and snippets.

@lhartikk
Last active December 30, 2015 09:39
Show Gist options
  • Save lhartikk/e12827a9b1c3b39b8bf2 to your computer and use it in GitHub Desktop.
Save lhartikk/e12827a9b1c3b39b8bf2 to your computer and use it in GitHub Desktop.
.bashrc
PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\] \[\033[33;1m\]\w\[\033[0;31m\] (\$(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \[\033[37m\]\$ "
alias clp="xclip -selection clipboard"
#shared bash history
export PROMPT_COMMAND="history -a; history -n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment