From 53fda5ff493e9e872165801d96c473f30bc927de Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 31 Oct 2018 13:37:23 +0100 Subject: [PATCH] Add zsh time output format --- .config/zsh/.zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 65c4fb4..1bec3aa 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -40,12 +40,14 @@ precmd() { print -Pn "\e]0;%n@%m %~\a" } +# ZSH parameters USR_HOST="%F{cyan}%n%f@%F{cyan}%m%f" DIRECTORY="%F{green}%~%f" ARROW="%(?..%F{red})➤%f" PROMPT='╭─${USR_HOST} ${DIRECTORY} ${vcs_info_msg_0_} ╰─${ARROW} ' RPROMPT='%t' +TIMEFMT=$'\nreal\t%*Es\nuser\t%*Us\nsys\t%*Ss' # Git zstyle ':vcs_info:*' enable git