Showing 1 changed files with 4 additions and 1 deletions
+4 -1
.zsh/prompt
... ...
@@ -75,7 +75,10 @@ precmd () {
75 75
     elif [ $nbrj -gt 0 ]; then 
76 76
         __PROMPT__+="\e[1;34m$nbrj\e[0;34m job en cours\n"
77 77
     fi
78
-    __PROMPT__+="$(git_prompt_string) \e[1;33m$HOST\e[0m:"
78
+    __PROMPT__+="$(git_prompt_string) "
79
+    if [[ "$TERM" != "screen" ]]; then
80
+        __PROMPT__+="\e[1;33m$HOST\e[0m:"
81
+    fi
79 82
     __PROMPT__+="\e[0;32m$([[ $UID == 0 ]] && echo '\e[47m\e[4;31m /!\ root /!\ \e[0m\e[0;31m ')"
80 83
     __PROMPT__+="$(pwd)\e[0m"
81 84
     echo -e "$__PROMPT__"