mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
fix tab to space conversion
This commit is contained in:
parent
4e4c759c8d
commit
3846c4f802
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ _zsh_autosuggest_strategy_match_prev_cmd() {
|
||||||
# Get all history event numbers that correspond to history
|
# Get all history event numbers that correspond to history
|
||||||
# entries that match pattern $prefix*
|
# entries that match pattern $prefix*
|
||||||
local history_match_keys
|
local history_match_keys
|
||||||
history_match_keys=(${(k)history[(R)${(q)prefix}*]})
|
history_match_keys=(${(k)history[(R)${(q)prefix}*]})
|
||||||
|
|
||||||
# By default we use the first history number (most recent history entry)
|
# By default we use the first history number (most recent history entry)
|
||||||
local histkey="${history_match_keys[1]}"
|
local histkey="${history_match_keys[1]}"
|
||||||
|
|
Loading…
Reference in a new issue