Created
August 19, 2012 07:51
-
-
Save float-tw/3393414 to your computer and use it in GitHub Desktop.
bashrc note
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# two line prompt (show git branch) | |
PS1='\n\[\033[01;30m\]┌[\[\033[00m\]' | |
PS1+='${debian_chroot:+($debian_chroot)}' | |
PS1+='\[\033[01;32m\]\u\[\033[00m\]@\h' | |
PS1+='\[\033[01;30m\]]\[\033[00m\]:' | |
PS1+='\[\033[01;33m\]\w\[\033[00m\]' | |
PS1+='\[\033[01;34m\]$(__git_ps1)\[\033[00m\]' | |
PS1+='\n\[\033[01;30m\]└─\[\033[00m\]\$ ' | |
# For colourful man pages (CLUG-Wiki style) | |
export LESS_TERMCAP_mb=$'\E[01;31m' | |
export LESS_TERMCAP_md=$'\E[01;31m' | |
export LESS_TERMCAP_me=$'\E[0m' | |
export LESS_TERMCAP_se=$'\E[0m' | |
export LESS_TERMCAP_so=$'\E[01;44;33m' | |
export LESS_TERMCAP_ue=$'\E[0m' | |
export LESS_TERMCAP_us=$'\E[01;32m' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment