Remove special character ⊸. Just rely on colors to indicate branch.
dblume

dblume commited on 2021-11-03 08:57:18
Showing 1 changed files, with 2 additions and 2 deletions.

... ...
@@ -20,10 +20,10 @@ if true ; then
20 20
     # I like 023 or 030 for the git branch color. See https://i.stack.imgur.com/UQVe5.png
21 21
     if [[ -n $SSH_CLIENT ]]; then
22 22
         export PS1='$(if [ $? -eq 0 ]; then echo -e "\[\e[32m\]\xe2\x9c\x93";
23
-                      else echo -e "\[\e[31m\]\xe2\x9c\x97"; fi) \[\e[38;5;242m\]\h:\w\[\e[38;5;030m\]$(__git_ps1 " ⊸%s")\[\e[38;5;242m\]$\[\e[0m\] '
23
+                      else echo -e "\[\e[31m\]\xe2\x9c\x97"; fi) \[\e[38;5;242m\]\h:\w\[\e[38;5;030m\]$(__git_ps1 " %s")\[\e[38;5;242m\]$\[\e[0m\] '
24 24
     else
25 25
         export PS1='$(if [ $? -eq 0 ]; then echo -e "\[\e[32m\]\xe2\x9c\x93";
26
-                      else echo -e "\[\e[31m\]\xe2\x9c\x97"; fi) \[\e[38;5;242m\]\w\[\e[38;5;030m\]$(__git_ps1 " ⊸%s")\[\e[38;5;242m\]$\[\e[0m\] '
26
+                      else echo -e "\[\e[31m\]\xe2\x9c\x97"; fi) \[\e[38;5;242m\]\w\[\e[38;5;030m\]$(__git_ps1 " %s")\[\e[38;5;242m\]$\[\e[0m\] '
27 27
     fi
28 28
 else
29 29
     export PROMPT_DIRTRIM=4
30 30