Merge pull request #2170 from Royalsspirit/fix/parrot-theme-escape-sequence

fix(theme): use correct escape sequence to avoid weird text overwriting
pull/2159/head
Noah Gorny 2022-12-04 00:37:47 +02:00 committed by GitHub
commit cfe46e3d36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# git branch parser # git branch parser
function parse_git_branch() { function parse_git_branch() {
echo -e "\033[1;34m$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/')\033[0m" echo -e "\[\033[1;34m\]$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/')\[\033[0m\]"
} }
function parse_git_branch_no_color() { function parse_git_branch_no_color() {