1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 14:55:24 +02:00

history: add command to display timestamp (#12625)

* history: Add command to display timestamp

Add command to display timestamp when printing history in Zsh

* Update pages/common/history.md

Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>

---------

Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
This commit is contained in:
SeWook Oh 2024-04-10 01:03:13 +01:00 committed by GitHub
parent 198d776ba1
commit 735dfc1adb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,10 @@
`history {{20}}`
- Display history with timestamps in different formats (only available in Zsh):
`history -{{d|f|i|E}}`
- Clear the commands history list (only for current Bash shell):
`history -c`