From 11530608c9ca93547e4262a890ea6a6978406146 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Thu, 10 Mar 2022 14:55:15 +0100 Subject: [PATCH] zsh:p10k: Reenable time segment I disabled that in the past but want have it again. --- .../zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme b/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme index 1228b79..86d6c4b 100644 --- a/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme +++ b/.config/zsh/zshrc.d/90-external-plugins/15-powerlevel10k.theme @@ -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.