Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command recall
- X-seq: zsh-users 26468
- From: Lawrence Velázquez <vq@xxxxxxxxx>
- To: Ray Andrews <rayandrews@xxxxxxxxxxx>
- Cc: zsh-users@xxxxxxx
- Subject: Re: command recall
- Date: Sat, 6 Feb 2021 12:10:29 -0500
- Archived-at: <https://zsh.org/users/26468>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2021-02/52C36B95-58AC-434A-93BF-88E77464C04B%40larryv.me>
- In-reply-to: <453532ec-a8c6-a3b6-c44d-9107e98250ca@eastlink.ca>
- List-id: <zsh-users.zsh.org>
- References: <453532ec-a8c6-a3b6-c44d-9107e98250ca@eastlink.ca>
> On Feb 6, 2021, at 11:36 AM, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> I have:
>
> INC_APPEND_HISTORY
> SHARE_HISTORY
There is no need to enable both of these; SHARE_HISTORY alone is
sufficient. The zshoptions(1) man page makes this pretty clear.
> ... 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?
You don't have to actually run a command; you can just hit Return
at an empty prompt.
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author