zsh:p10k: Reenable time segment

I disabled that in the past but want have it again.
This commit is contained in:
2022-03-10 14:55:15 +01:00
parent 72c616d378
commit 11530608c9

View File

@@ -99,7 +99,6 @@
todo # todo items (https://github.com/todotxt/todo.txt-cli)
timewarrior # timewarrior tracking status (https://timewarrior.net/)
taskwarrior # taskwarrior task count (https://taskwarrior.org/)
# time # current time
# =========================[ Line #2 ]=========================
newline
# ip # ip address and bandwidth usage for a specified network interface
@@ -108,6 +107,7 @@
# battery # internal battery
# wifi # wifi speed
# example # example user-defined segment (see prompt_example function below)
time # current time
)
# Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you.
@@ -1539,7 +1539,7 @@
# 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 preceding commands.
typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=true
# Custom icon.
typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION=
# Custom prefix.