aboutsummaryrefslogtreecommitdiffstats
path: root/.bash_prompt
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-04-03 16:32:39 +0200
committerMathias Bynens <mathias@qiwi.be>2012-04-03 16:32:39 +0200
commitf33a8e4458fd2bc4b839cb6ddc0ac2a49d9522bf (patch)
tree6b2f62af850c47ba16521d53e66e0d084283ee7f /.bash_prompt
parent72860bec9801f5e899312780d2349cfaf6efedae (diff)
downloaddotfiles-f33a8e4458fd2bc4b839cb6ddc0ac2a49d9522bf.tar.gz
dotfiles-f33a8e4458fd2bc4b839cb6ddc0ac2a49d9522bf.tar.bz2
dotfiles-f33a8e4458fd2bc4b839cb6ddc0ac2a49d9522bf.zip
.exports: Highlight (color-code) section titles in manual pages
Diffstat (limited to '.bash_prompt')
-rw-r--r--.bash_prompt8
1 files changed, 8 insertions, 0 deletions
diff --git a/.bash_prompt b/.bash_prompt
index 771d35a..662ae78 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -35,6 +35,14 @@ else
RESET="\033[m"
fi
+export MAGENTA
+export ORANGE
+export GREEN
+export PURPLE
+export WHITE
+export BOLD
+export RESET
+
function parse_git_dirty() {
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*"
}