summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index bb389e0..097a134 100644
--- a/bashrc
+++ b/bashrc
@@ -122,6 +122,8 @@ fi
# Custom prompt:
# Blue timestamp and italic green pwd
#PS1='\[\033[34m\]|\D{%H:%M:%S}| \[\033[3;32m\][\w]\[\033[00m\]\n\$ '
+# git-bash promp is helpful when browsing a git-repository
+PS1='\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$ '
# Environmental variables:
# less(1) config (ignore case in searchs and display raw control characters)