From dd09ce6efc8aeaa22f935a0daf888b88c6736b13 Mon Sep 17 00:00:00 2001 From: romkatv Date: Wed, 17 Jul 2019 08:45:11 +0200 Subject: add POWERLEVEL9K_TIME_UPDATE_ON_COMMAND This is one of the features discussed in #77. --- config/lean.zsh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') diff --git a/config/lean.zsh b/config/lean.zsh index 52759a5a..d6d719b1 100644 --- a/config/lean.zsh +++ b/config/lean.zsh @@ -254,6 +254,10 @@ fi typeset -g POWERLEVEL9K_TIME_FOREGROUND=66 # Format for the current time: 09:51:02. See `man 3 strftime`. typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' + # If set to true, time will update when you hit enter. This way prompts for the past + # commands will contain the start times of their commands as opposed to the default + # behavior where they contain the end times of their preceeding commands. + typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false } (( ! p9k_lean_restore_aliases )) || setopt aliases -- cgit v1.2.3