diff options
| author | Oliver Kiddle <opk@zsh.org> | 2016-11-09 16:53:23 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2016-11-09 16:55:13 +0100 |
| commit | 488d73c07dbbd2f2a2c6ee934aee71d4aa776c3a (patch) | |
| tree | fe89dc49db1cb22ae2d48413f5a01a996246554f /Functions/Zle | |
| parent | 39882: mention ${name:/pattern/replacement} in the itemized synopsis with the... (diff) | |
| download | zsh-488d73c07dbbd2f2a2c6ee934aee71d4aa776c3a.tar zsh-488d73c07dbbd2f2a2c6ee934aee71d4aa776c3a.tar.gz zsh-488d73c07dbbd2f2a2c6ee934aee71d4aa776c3a.tar.bz2 zsh-488d73c07dbbd2f2a2c6ee934aee71d4aa776c3a.tar.lz zsh-488d73c07dbbd2f2a2c6ee934aee71d4aa776c3a.tar.xz zsh-488d73c07dbbd2f2a2c6ee934aee71d4aa776c3a.tar.zst zsh-488d73c07dbbd2f2a2c6ee934aee71d4aa776c3a.zip | |
39884: fix history-beginning-search-menu for history lines containing a pipe character
Diffstat (limited to 'Functions/Zle')
| -rw-r--r-- | Functions/Zle/history-beginning-search-menu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/history-beginning-search-menu b/Functions/Zle/history-beginning-search-menu index 105518102..0e1bbc734 100644 --- a/Functions/Zle/history-beginning-search-menu +++ b/Functions/Zle/history-beginning-search-menu @@ -112,7 +112,7 @@ fi # go to the last one. This allows accept-line-and-down-history etc. # to work. local -a lines -local matchq=${matches[$chars]//(#m)[\][()\\*?#<>~^]/\\$MATCH} +local matchq=${matches[$chars]//(#m)[\][|()\\*?#<>~^]/\\$MATCH} lines=(${(kon)history[(R)$matchq]}) HISTNO=$lines[-1] |
