bashrc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
bashrc [2009/11/28 16:53] – 92.195.113.39 | bashrc [2010/04/04 08:04] – 92.195.154.51 | ||
---|---|---|---|
Line 47: | Line 47: | ||
# cleanup firefox 3 dbs | # cleanup firefox 3 dbs | ||
alias ffclean=' | alias ffclean=' | ||
+ | |||
+ | # current git branch for prompt below | ||
+ | # http:// | ||
+ | parse_git_branch() { | ||
+ | git branch 2> /dev/null | sed -e '/ | ||
+ | } | ||
# set a fancy prompt and xterm title | # set a fancy prompt and xterm title | ||
Line 54: | Line 60: | ||
PS1=" | PS1=" | ||
else | else | ||
- | PS1="\[\033]2; | + | PS1='\[\033]2; |
fi | fi | ||
else | else |
bashrc.txt · Last modified: 2010/04/28 18:45 by 92.195.193.18