From 8a771874aa6527614ac4700a03ea629c18bf3cf3 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 6 Oct 2021 11:16:17 +0200 Subject: [PATCH] ps1: uhrzeit entfernt --- .bash_extra | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bash_extra b/.bash_extra index 82ed872..b82423a 100644 --- a/.bash_extra +++ b/.bash_extra @@ -11,10 +11,10 @@ export GIT_PS1_SHOWUNTRACKEDFILES=1 export GIT_PS1_SHOWDIRTYSTATE=1 export GIT_PS1_SHOWSTASHSTATE=1 -export PS1='\n\[\e[34m\]\u@\[\e[34m\]\h \[\e[37m\]\A \[\e[94m\]\w\[\e[33m\]$(__git_ps1) \[\e[94m\]\n> \[\e[39m\]' +export PS1='\n\[\e[34m\]\u@\[\e[34m\]\h \[\e[94m\]\w\[\e[33m\]$(__git_ps1) \[\e[94m\]\n> \[\e[39m\]' -#\e[34m \u @ \e[34m \h \e[37m \A \e[94m \w \e[33m $(__git_ps1) \e[94m \n> \e[39m -#Blau User @ Bue Hostname Light Gray HH:MM LightBlue Verzeichnis Yellow Git-Script LightBlue Zeilenumbruch Standard-Vordergrund-Farbe +#\e[34m \u @ \e[34m \h \e[37m \e[94m \w \e[33m $(__git_ps1) \e[94m \n> \e[39m +#Blau User @ Bue Hostname Light Gray LightBlue Verzeichnis Yellow Git-Script LightBlue Zeilenumbruch Standard-Vordergrund-Farbe # https://unix.stackexchange.com/questions/105958/terminal-prompt-not-wrapping-correctly # alle Farben sind mit \[\] escaped, sonst kann die shelle die länge nicht richtig ausrechnen