From 587eae27852522c7a4e86350a1d1554e59575302 Mon Sep 17 00:00:00 2001 From: Cristian Consonni Date: Wed, 31 Jan 2018 17:25:05 +0100 Subject: [PATCH] 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. --- templates/zshrc.zsh-template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index bba2d370d..92dbbfa48 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -50,6 +50,8 @@ ZSH_THEME="robbyrussell" # stamp shown in the history command output. # The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" # 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? # ZSH_CUSTOM=/path/to/new-custom-folder