Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Bug report



Dear zsh-maintainer & hackers,

I think I've found a problem with 2.6-beta16:

If I have in my startup files

    periodic () {
	fc -AI && echo "(history saved.)" || echo "(could not save history.)"
    }
    PERIOD=1800

then this works fine, *except* that the command - just entered before
the new prompt which triggers periodic() - is *lost* from the history
(and not even reachable with the cursor keys, like `k' in vi-mode).

Is this a feature or a bug? In the latter case, I'd be happy if you could
fix it.

Yours,

Martin

---
Martin Birgmeier

Vienna University of Technology
Department of Communication and Radio Frequency Engineering

Martin.Birgmeier@xxxxxxxxxxxxxxx




Messages sorted by: Reverse Date, Date, Thread, Author