Ver Fonte

zshrc: add gray time to RPROMPT

raylu há 9 anos atrás
pai
commit
3514e25ee2
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      zshrc

+ 2 - 1
zshrc

@@ -59,7 +59,8 @@ zstyle ':vcs_info:(sv[nk]|bzr):*' branchformat '%b:%r'
 zstyle ':vcs_info:bzr:*' use-simple true
 zstyle ':vcs_info:*' enable git hg bzr svn cvs
 precmd () { vcs_info }
-RPROMPT+='${vcs_info_msg_0_}'
+RPROMPT+='${vcs_info_msg_0_} '
+RPROMPT+="%{$fg_bold[grey]%}%*" # time
 RPROMPT+="%{$reset_color%}"
 
 autoload -U url-quote-magic