bugfix for ansi code
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -62,7 +62,7 @@ if [ -z "$WINDOW" ]; then
|
||||
if type __git_ps1 > /dev/null 2>&1; then
|
||||
PS1='\[\e[G\e[m\e[32m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\] [\[\e[32m\]\w\[\e[m\]] [\[\e[36m\]\A\[\e[m\]]\[\e[1;30m\]$(__git_ps1)\[\e[m\] '
|
||||
else
|
||||
PS1='\[\e[G\e[m\e[32m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\] [\[\e[32m\]\w\[\e[m\]] [\[\e[36m\]\A\[\e[m\]]\[\e[1;30m\] '
|
||||
PS1='\[\e[G\e[m\e[32m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\] [\[\e[32m\]\w\[\e[m\]] [\[\e[36m\]\A\[\e[m\]]\[\e[0m\] '
|
||||
fi
|
||||
else
|
||||
if type __git_ps1 > /dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user