浏览代码

clean theme: username is now bold

Evandro Myller 14 年之前
父节点
当前提交
be66fe9d7a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      themes/clean.zsh-theme

+ 1 - 1
themes/clean.zsh-theme

@@ -1,6 +1,6 @@
 if [ "$(whoami)" = "root" ]; then NCOLOR="red"; else NCOLOR="white"; fi
 
-PROMPT='%{$fg[$NCOLOR]%}%n%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
+PROMPT='%{$fg[$NCOLOR]%}%B%n%b%{$reset_color%}:%{$fg[blue]%}%B%c/%b%{$reset_color%} $(git_prompt_info)%(!.#.$) '
 RPROMPT='[%*]'
 
 # git theming