zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH workers mailing list" <zsh-workers@sunsite.auc.dk>
Subject: About set-local-history
Date: Tue, 6 Jul 1999 15:42:39 +0400	[thread overview]
Message-ID: <000901bec7a4$a640c860$21c9ca95@mow.siemens.ru> (raw)

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


                 reply	other threads:[~1999-07-06 11:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000901bec7a4$a640c860$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).