Closed ysftaha closed 5 months ago
Reproduce by executing a command in one terminal and calling history-substring-search-up in another. Does not work unless sync or rehash is executed in the later terminal first.
sync
rehash
adding
rehash_hook() rehash add-zsh-hook precmd rehash_hook
The back searching across terminals works (default ^R) or on empty prompts...Only it isn't working for history-substring-search.
where should the above code be placed?
do you have setopt SHARE_HISTORY in your zshrc?
setopt SHARE_HISTORY
Reproduce by executing a command in one terminal and calling history-substring-search-up in another. Does not work unless
sync
orrehash
is executed in the later terminal first.adding
The back searching across terminals works (default ^R) or on empty prompts...Only it isn't working for history-substring-search.