about summary refs log tree commit diff
path: root/Functions/Zle/replace-string-again
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-07-28 14:01:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-07-28 14:01:12 +0000
commit4de3dbac168aa5e89d4f7c278917c8af4b226542 (patch)
tree88b3dbdecef8f0ee5c6b110124a8ce6de7699135 /Functions/Zle/replace-string-again
parent10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1 (diff)
downloadzsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.gz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.xz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.zip
c.f. users/15202: use "autoload -Uz" consistently
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