mirror of https://github.com/CrimsonTome/tldr.git
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>pull/28/head
parent
198d776ba1
commit
735dfc1adb
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue