From 3846c4f8029de20df9b1d72c9c8bdfec920b65a8 Mon Sep 17 00:00:00 2001 From: Isaac W Hanson Date: Fri, 18 Aug 2017 09:42:17 -0400 Subject: [PATCH] fix tab to space conversion --- zsh-autosuggestions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index 38a26df..fd52ae3 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -533,7 +533,7 @@ _zsh_autosuggest_strategy_match_prev_cmd() { # Get all history event numbers that correspond to history # entries that match pattern $prefix* 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) local histkey="${history_match_keys[1]}"