diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-07-30 11:09:16 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-07-30 11:09:16 +0000 |
commit | ab899b76c790d1cb13b76716d4d99b6bd7ac983c (patch) | |
tree | 9685f177c31645e5394be3236bd4deecb3f0b8af /Functions/Zle/history-pattern-search | |
parent | b550cfe7e382c7704965a166af81933f1ac50d4b (diff) | |
download | zsh-ab899b76c790d1cb13b76716d4d99b6bd7ac983c.tar.gz zsh-ab899b76c790d1cb13b76716d4d99b6bd7ac983c.tar.xz zsh-ab899b76c790d1cb13b76716d4d99b6bd7ac983c.zip |
20222: turn on max function depth
plus unposted reference to this in README plus unposted neatening of 20219 history-pattern-search
Diffstat (limited to 'Functions/Zle/history-pattern-search')
-rw-r--r-- | Functions/Zle/history-pattern-search | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Functions/Zle/history-pattern-search b/Functions/Zle/history-pattern-search index 02f85a2fb..a6b12bd9c 100644 --- a/Functions/Zle/history-pattern-search +++ b/Functions/Zle/history-pattern-search @@ -28,7 +28,9 @@ else fi # Read pattern. Prompt could be made customisable. -read-from-minibuffer "pat ($dir): " +read-from-minibuffer "pat ($dir): " $_last_history_pattern_search + +_last_history_pattern_search=$REPLY # Abort if bad status or nothing entered [[ $? -ne 0 || -z $REPLY ]] && return 0 |