about summary refs log tree commit diff
path: root/Functions/Zle/transpose-words-match
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zle/transpose-words-match')
-rw-r--r--Functions/Zle/transpose-words-match2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/transpose-words-match b/Functions/Zle/transpose-words-match
index 6e12c4fa1..8885c0b81 100644
--- a/Functions/Zle/transpose-words-match
+++ b/Functions/Zle/transpose-words-match
@@ -11,7 +11,7 @@
 # on X would be turned into `barXfoo' with the cursor still on the X,
 # regardless of what the character X is.
 
-autoload match-words-by-style
+autoload -z match-words-by-style
 
 local curcontext=":zle:$WIDGET" skip
 local -a matched_words