|
|
@ -453,7 +453,7 @@ _zsh_autosuggest_strategy_default() { |
|
|
|
# `HIST_EXPIRE_DUPS_FIRST`. |
|
|
|
|
|
|
|
_zsh_autosuggest_strategy_match_prev_cmd() { |
|
|
|
local prefix="$1" |
|
|
|
local prefix="${1//(#m)[\\()\[\]|*?~]/\\$MATCH}" |
|
|
|
|
|
|
|
# Get all history event numbers that correspond to history |
|
|
|
# entries that match pattern $prefix* |
|
|
|