diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2007-12-31 23:14:17 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2007-12-31 23:14:17 +0000 |
commit | 15e8fe245d62798b4e21059b101231982532546b (patch) | |
tree | 8b6cf400264ad0891e1bbbc1da10603c0cea2d84 /Src | |
parent | 66742c60451a1741688245d682471611f33372a5 (diff) | |
download | zsh-15e8fe245d62798b4e21059b101231982532546b.tar.gz zsh-15e8fe245d62798b4e21059b101231982532546b.tar.xz zsh-15e8fe245d62798b4e21059b101231982532546b.zip |
24324: do not set ftim when re-entering the history mechanism for string
substitution.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/hist.c b/Src/hist.c index d4f3fc454..05fc6e003 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -826,7 +826,7 @@ hbegin(int dohist) } chwordpos = 0; - if (hist_ring && !hist_ring->ftim) + if (hist_ring && !hist_ring->ftim && !strin) hist_ring->ftim = time(NULL); if ((dohist == 2 || (interact && isset(SHINSTDIN))) && !strin) { histactive = HA_ACTIVE; |