zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: Zsh Users <zsh-users@zsh.org>
Subject: command recall
Date: Sat, 6 Feb 2021 08:36:46 -0800	[thread overview]
Message-ID: <453532ec-a8c6-a3b6-c44d-9107e98250ca@eastlink.ca> (raw)

I have:

INC_APPEND_HISTORY
SHARE_HISTORY

... set and my up arrow is:
bindkey "\e[A" history-beginning-search-backward

When I type '$ history' what happens in one terminal is immediately 
shown in the history list in any other terminal as I'd expect, however 
the up arrow key does not show the most recent global command.  If I 
type 'history' in some terminal and then hit the up arrow, it is now the 
most recent command but not otherwise.  Can I get up arrow to be up to 
the moment the same way that 'history' is? Actually it would be cool to 
be able to quickly toggle that on or off, so I could have a terminal 
isolated from global history or not as I choose. I'd expect 
'history-beginning-search-backward' to obey the intent of the two 
options set above.




             reply	other threads:[~2021-02-06 16:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-06 16:36 Ray Andrews [this message]
2021-02-06 17:10 ` Lawrence Velázquez
2021-02-06 17:22   ` Lawrence Velázquez
2021-02-06 22:08     ` Bart Schaefer
2021-02-06 23:11       ` Ray Andrews
2021-02-07 16:56         ` Bart Schaefer
2021-02-07 18:09           ` Ray Andrews
2021-02-07 20:42             ` Bart Schaefer
2021-02-07 21:34               ` Ray Andrews
2021-02-07 19:12 ` Bart Schaefer

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=453532ec-a8c6-a3b6-c44d-9107e98250ca@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --cc=zsh-users@zsh.org \
    /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).