From 04581e836b44a05b5516efece5d338c2b9c13fa8 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 20 Aug 2021 23:14:19 +0200 Subject: [PATCH] bash: ps1 --- .bash_extra | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bash_extra b/.bash_extra index 887089f..d1b6bee 100644 --- a/.bash_extra +++ b/.bash_extra @@ -7,6 +7,8 @@ # * unstaged # + staged # $ stashed +# % untracked +export GIT_PS1_SHOWUNTRACKEDFILES=1 export GIT_PS1_SHOWDIRTYSTATE=1 export GIT_PS1_SHOWSTASHSTATE=1 export PS1='\e[34m\u@\e[34m\h \e[37m\A \e[94m\w\e[33m$(__git_ps1) \e[94m\n> \e[39m'