Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: stat docs: Mention how to show nanosecond precision
- X-seq: zsh-workers 49769
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: stat docs: Mention how to show nanosecond precision
- Date: Mon, 21 Feb 2022 18:23:49 +0100
- Archived-at: <https://zsh.org/workers/49769>
- List-id: <zsh-workers.zsh.org>
This can be a little unintuitive to figure out; I ended up looking at
the source code to realize it was already implemented.
---
Doc/Zsh/mod_stat.yo | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Doc/Zsh/mod_stat.yo b/Doc/Zsh/mod_stat.yo
index 9caed1e45a..b591d40032 100644
--- a/Doc/Zsh/mod_stat.yo
+++ b/Doc/Zsh/mod_stat.yo
@@ -118,6 +118,8 @@ formatting of the time elements. The format string supports all of the
zsh extensions described in
ifzman(the section EXPANSION OF PROMPT SEQUENCES in zmanref(zshmisc))\
ifnzman(noderef(Prompt Expansion)).
+In particular, tt(-F %s.%N) can be used to show timestamps with nanosecond
+precision if supported by the system.
The tt(-s) option is implied.
)
item(tt(-g))(
--
2.15.1
Messages sorted by:
Reverse Date,
Date,
Thread,
Author