From ce48a53e3624a478f2c41e2a2f58ca1be5705fed Mon Sep 17 00:00:00 2001 From: Sebastian Gniazdowski Date: Sat, 4 Aug 2018 16:32:17 +0200 Subject: [PATCH] hsmw: More typo-like lackings of % substitution Issue #12, not directly related, but discovered at time of examining it --- history-search-multi-word | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history-search-multi-word b/history-search-multi-word index 580fb43..82ec3f0 100644 --- a/history-search-multi-word +++ b/history-search-multi-word @@ -66,7 +66,7 @@ if (( ${+functions[_hsmw_main]} == 0 )); then # '0' will get changed into $to_display limit [[ "$WIDGET" = *-word || "$WIDGET" = *-pforwards ]] && __hsmw_hcw_index="1" [[ "$WIDGET" = *-backwards || "$WIDGET" = *-pbackwards ]] && __hsmw_hcw_index="0" - __hsmw_hcw_widget_name="${${${WIDGET%-backwards}-pbackwards}-pforwards}" + __hsmw_hcw_widget_name="${${${WIDGET%-backwards}%-pbackwards}%-pforwards}" __hsmw_hcw_found=( ) __hsmw_hcw_finished="0" __hsmw_hcw_restart="0"