add POWERLEVEL9K_TIME_UPDATE_ON_COMMAND
This is one of the features discussed in #77.
This commit is contained in:
parent
b4706cbe43
commit
dd09ce6efc
2 changed files with 30 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue