mirror of
https://github.com/zsh-users/zsh-history-substring-search
synced 2024-09-20 16:19:04 +02:00
14adfd9836
Suppose you have just pressed "arrow-up", and you get a single-line in your terminal. You move your cursor into $BUFFER. After this the edited $BUFFER becomes the new search string. That breaks the searching model. |
||
---|---|---|
history-substring-search.zsh | ||
README |
To activate this script, load it into an interactive ZSH session: % source history-substring-search.zsh See the "history-substring-search.zsh" file for more information: % sed -n '2,/^$/s/^#//p' history-substring-search.zsh | more