bash: ps1 bugfix
This commit is contained in:
parent
c12fd26b03
commit
ff5f83b3b2
1 changed files with 4 additions and 1 deletions
|
@ -11,10 +11,13 @@
|
|||
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'
|
||||
export PS1='\[\e[34m\]\u@\[\e[34m\]\h \[\e[37m\]\A \[\e[94m\]\w\[\e[33m\]$(__git_ps1) \[\e[94m\]\n> \[\e[39m\]'
|
||||
rt PS1='\u@\h \A \w$(__git_ps1)\n> '|
|
||||
|
||||
#\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
|
||||
# https://unix.stackexchange.com/questions/105958/terminal-prompt-not-wrapping-correctly
|
||||
# alle Farben sind mit \[<wert>\] escaped, sonst kann die shelle die länge nicht richtig ausrechnen
|
||||
|
||||
# Deaktiviere FlowControl
|
||||
# https://unix.stackexchange.com/questions/332791/how-to-permanently-disable-ctrl-s-in-terminal
|
||||
|
|
Loading…
Reference in a new issue