Skip to content

Instantly share code, notes, and snippets.

@indeyets
Created December 3, 2010 12:01
Show Gist options
  • Save indeyets/726878 to your computer and use it in GitHub Desktop.
Save indeyets/726878 to your computer and use it in GitHub Desktop.
pieces from bash_profile
shopt -s checkwinsize
shopt -s extglob progcomp
# get these somewhere ;)
. ~/git-completion.bash
. ~/hg-completion.bash
hg_ps1() {
# hg prompt " (hg: {{branch}}{ at {bookmark}}{status})" 2> /dev/null
hg prompt " (hg: {{branch}}{status})" 2> /dev/null
}
export CLICOLOR=1
export LSCOLORS='FxfxcxdxCxegedabagacad'
export PS1='[\u@\h \W$(__git_ps1 " (git: %s)")$(hg_ps1)]\$ '
export COLUMNS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment