From 5c884b6d2cf7f33d1b3672e1de641155a548b844 Mon Sep 17 00:00:00 2001 From: Sebastian Gniazdowski Date: Fri, 6 Mar 2020 07:20:32 +0100 Subject: [PATCH] hsmw: Reorganize zle calls --- history-search-multi-word | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/history-search-multi-word b/history-search-multi-word index bd2f208..b2b5980 100644 --- a/history-search-multi-word +++ b/history-search-multi-word @@ -352,12 +352,12 @@ if [[ "$__hsmw_hcw_call_count" -eq "1" ]]; then # Substitute self-insert, backward-delete-char, delete-char zle -A self-insert hsmw-saved-self-insert - zle -A backward-delete-char hsmw-saved-backward-delete-char - zle -A delete-char hsmw-saved-delete-char - (( __hsmw_reset_prompt_protect )) && zle -A reset-prompt hsmw-saved-reset-prompt zle -N self-insert _hsmw_self_insert + zle -A backward-delete-char hsmw-saved-backward-delete-char zle -N backward-delete-char _hsmw_backward_delete_char + zle -A delete-char hsmw-saved-delete-char zle -N delete-char _hsmw_delete_char + (( __hsmw_reset_prompt_protect )) && zle -A reset-prompt hsmw-saved-reset-prompt (( __hsmw_reset_prompt_protect )) && zle -N reset-prompt _hsmw_reset_prompt if (( ${+functions[azhw:zle-line-pre-redraw]} )); then