From 66eb0f76c8c63c80bc63b5580b01b2d8026ad6af Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Fri, 17 Jun 2022 21:48:32 -0500 Subject: Modify PS1, create alias for diff --- bashrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bashrc') 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) -- cgit v1.2.3