浏览代码

Add leading zeros for clock

Thomas Dy 9 年之前
父节点
当前提交
51f0db4e78
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .zsh/prompt.zsh

+ 1 - 1
.zsh/prompt.zsh

@@ -3,7 +3,7 @@ autoload -U colors && colors
 setopt promptsubst
 setopt promptpercent
 
-local time='%F{cyan}%B[%T]%b%f'
+local time='%F{cyan}%B[%D{%H:%m}]%b%f'
 local user='%F{yellow}%B%n%b%f'
 local host='%F{blue}%B%M%b%f'
 local dir='%F{yellow}%~%f'