commit 6715ed7c775c0ff5c12228dc5c8089da097d946b
parent 095f21d71bc5990fabbaab82848d477a53e4cdc9
Author: Alex Balgavy <alex@balgavy.eu>
Date: Mon, 1 Feb 2021 00:15:20 +0100
shell: p10k bitwarden show leading zeros in dark
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell/p10k-dark.zsh b/shell/p10k-dark.zsh
@@ -1145,7 +1145,7 @@
(( $H > 0 )) && printf '%d:' $H
(( $M > 0 )) && printf '%d' $M
(( $D > 0 || $H > 0 || $M > 0 )) && printf ':'
- printf '%d' $S
+ printf '%02d' $S
}
function prompt_bitwarden_session_timer() {
if [ -z "$BW_SESHFILE" ] || ! [ -f "$BW_SESHFILE" ]; then