Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
command recall
- X-seq: zsh-users 26467
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: command recall
- Date: Sat, 6 Feb 2021 08:36:46 -0800
- Archived-at: <https://zsh.org/users/26467>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2021-02/453532ec-a8c6-a3b6-c44d-9107e98250ca%40eastlink.ca>
- List-id: <zsh-users.zsh.org>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author