Clarify how to enable timestamps in history
(see also https://github.com/robbyrussell/oh-my-zsh/issues/6109 for further info) The comment is not very clear about the fact that you need to also change the alias of `history` to display timestamps.
This commit is contained in:
parent
37c2d0ddd7
commit
587eae2785
@ -50,6 +50,8 @@ ZSH_THEME="robbyrussell"
|
|||||||
# stamp shown in the history command output.
|
# stamp shown in the history command output.
|
||||||
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||||
# HIST_STAMPS="mm/dd/yyyy"
|
# HIST_STAMPS="mm/dd/yyyy"
|
||||||
|
# with this setting you need this alias (by default history is aliased to 'fc -l 1')
|
||||||
|
# alias history="fc -il 1"
|
||||||
|
|
||||||
# Would you like to use another custom folder than $ZSH/custom?
|
# Would you like to use another custom folder than $ZSH/custom?
|
||||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||||
|
Loading…
Reference in New Issue
Block a user