zsh-workers
 help / color / mirror / code / Atom feed
* About set-local-history
@ 1999-07-06 11:42 Andrej Borsenkow
  0 siblings, 0 replies; only message in thread
From: Andrej Borsenkow @ 1999-07-06 11:42 UTC (permalink / raw)
  To: ZSH workers mailing list

I noted, that you have to redisplay prompt to get new shared history entries.
That is, assuming, zsh-1 just displays prompt and I enetered several commands in
zsh-2 - zsh-1 won't see them unless I pressed ENTER.

This may be a minor case, but it is at least confusing.

Another comment is, that Zsh treats the history imported from history file at
startup as local (that is, even when local history is toggled on via
set-local-history, I still get all entries there). Again, it may be considered a
feature. But if I turn on local history - it may be more consistent to treat
imported entries as "foreign".

And to be useful in scripts, set-local-history better takes an argument
(set-local-history (on|off) ). If no argument is given, it may toggle as it does
currently. I have a feeling that it was already discussed (or is it already
implemented?)

And, of course, some external way to specify initial state is needed. I cannot
simply run zle command in startup script?

/andrej


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-06 11:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-06 11:42 About set-local-history Andrej Borsenkow

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).