I assume the %p is taken from http://www.nparikh.org/unix/prompt.php which says it shows The precise time of day in 12-hour AM/PM format, with seconds..
%p does not work for me and I could not find any documentation on it.
man zshmisc mentions
%T Current time of day, in 24-hour format.
%t
%@ Current time of day, in 12-hour, am/pm format.
%* Current time of day in 24-hour format, with seconds.
But %t and %@ don't work for me either and I think showing the seconds is unnecessary clutter. Hence I changed it to %T.
I assume the
%p
is taken from http://www.nparikh.org/unix/prompt.php which says it showsThe precise time of day in 12-hour AM/PM format, with seconds.
.%p
does not work for me and I could not find any documentation on it.man zshmisc
mentionsBut
%t
and%@
don't work for me either and I think showing the seconds is unnecessary clutter. Hence I changed it to%T
.Screenshots
before:
after