Match color for local and ssh connections
dblume

dblume commited on 2021-11-02 11:53:19
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -14,7 +14,7 @@ if true ; then
14 14
     # I like 023 or 030 for the git branch color. See https://i.stack.imgur.com/UQVe5.png
15 15
     if [[ -n $SSH_CLIENT ]]; then
16 16
         export PS1='$(if [ $? -eq 0 ]; then echo -e "\[\e[32m\]\xe2\x9c\x93";
17
-                      else echo -e "\[\e[31m\]\xe2\x9c\x97"; fi) \[\e[38;5;242m\]\h:\w\[\e[38;5;024m\]$(parse_git_branch)\[\e[38;5;242m\]$\[\e[0m\] '
17
+                      else echo -e "\[\e[31m\]\xe2\x9c\x97"; fi) \[\e[38;5;242m\]\h:\w\[\e[38;5;030m\]$(parse_git_branch)\[\e[38;5;242m\]$\[\e[0m\] '
18 18
     else
19 19
         export PS1='$(if [ $? -eq 0 ]; then echo -e "\[\e[32m\]\xe2\x9c\x93";
20 20
                       else echo -e "\[\e[31m\]\xe2\x9c\x97"; fi) \[\e[38;5;242m\]\w\[\e[38;5;030m\]$(parse_git_branch)\[\e[38;5;242m\]$\[\e[0m\] '
21 21