about summary refs log tree commit diff
path: root/Functions/Zle/replace-string-again
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zle/replace-string-again')
-rw-r--r--Functions/Zle/replace-string-again2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/replace-string-again b/Functions/Zle/replace-string-again
index 8f4d23854..83a24167e 100644
--- a/Functions/Zle/replace-string-again
+++ b/Functions/Zle/replace-string-again
@@ -39,7 +39,7 @@ if [[ $curwidget = *(pattern|regex)* ]]; then
     done
     rep2+=$rep
     if [[ $curwidget = *regex* ]]; then
-      autoload -U regexp-replace
+      autoload -Uz regexp-replace
       regexp-replace LBUFFER $_replace_string_src $rep2
       regexp-replace RBUFFER $_replace_string_src $rep2
     else