From 4e4c759c8de42a29349ef1c10f72ef9d0e534062 Mon Sep 17 00:00:00 2001 From: Isaac W Hanson Date: Fri, 18 Aug 2017 09:41:51 -0400 Subject: [PATCH] fix tab to space conversion --- src/strategies/match_prev_cmd.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategies/match_prev_cmd.zsh b/src/strategies/match_prev_cmd.zsh index a1cb696..9e61693 100644 --- a/src/strategies/match_prev_cmd.zsh +++ b/src/strategies/match_prev_cmd.zsh @@ -26,7 +26,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]}"