mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-02 03:55:22 +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:
parent
198d776ba1
commit
735dfc1adb
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,10 @@
|
||||||
|
|
||||||
`history {{20}}`
|
`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):
|
- Clear the commands history list (only for current Bash shell):
|
||||||
|
|
||||||
`history -c`
|
`history -c`
|
||||||
|
|
Loading…
Add table
Reference in a new issue