summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2022-06-17 21:48:32 -0500
committerMitsuo Tokumori <[email protected]>2022-06-17 21:48:32 -0500
commit66eb0f76c8c63c80bc63b5580b01b2d8026ad6af (patch)
treeb819d82786481582ae8970548a7c38551e361cae /bashrc
parent257d976ed229f19b491b7d41dc6c73d3943c1db6 (diff)
downloaddotfiles-66eb0f76c8c63c80bc63b5580b01b2d8026ad6af.tar.gz
dotfiles-66eb0f76c8c63c80bc63b5580b01b2d8026ad6af.tar.bz2
dotfiles-66eb0f76c8c63c80bc63b5580b01b2d8026ad6af.zip
Modify PS1, create alias for diff
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)