From 9460dff3d2a7144d94025543be97044b69054aca Mon Sep 17 00:00:00 2001 From: Sebastian Gniazdowski Date: Fri, 17 Jan 2020 05:09:14 +0100 Subject: [PATCH] hsmw: Trigger syntax-highlighting after selecting --- history-search-multi-word | 2 ++ 1 file changed, 2 insertions(+) diff --git a/history-search-multi-word b/history-search-multi-word index f148f81..bd2f208 100644 --- a/history-search-multi-word +++ b/history-search-multi-word @@ -470,6 +470,8 @@ if [[ "$__hsmw_hcw_call_count" -eq "1" ]]; then # Full reinitialisation at next call __hsmw_hcw_call_count="0" + zle reset-prompt + # Free memory #__hsmw_hcw_found=( ) elif (( __hsmw_hcw_call_count > 0 )); then