about summary refs log tree commit diff
path: root/Functions/Zle/select-word-style
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-07-28 13:33:52 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-07-28 13:33:52 +0000
commit10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1 (patch)
tree32c80b045d603144ffafde5acf96853ba164d3f7 /Functions/Zle/select-word-style
parent278a892888352f717b72dc1af06105cdfcbe63fe (diff)
downloadzsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar.gz
zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.tar.xz
zsh-10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1.zip
c.f. users/15202: use "autoload -Uz" consistently
Diffstat (limited to 'Functions/Zle/select-word-style')
-rw-r--r--Functions/Zle/select-word-style4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Zle/select-word-style b/Functions/Zle/select-word-style
index 9c0fdb5cc..95d2e4446 100644
--- a/Functions/Zle/select-word-style
+++ b/Functions/Zle/select-word-style
@@ -8,13 +8,13 @@ word_functions=(backward-kill-word backward-word
     forward-word kill-word
     transpose-words up-case-word)
 
-[[ -z $1 ]] && autoload read-from-minibuffer
+[[ -z $1 ]] && autoload -Uz read-from-minibuffer
 
 local REPLY detail f wordstyle
 
 if ! zle -l $word_functions[1]; then
     for f in $word_functions; do
-	autoload -U $f-match
+	autoload -Uz $f-match
 	zle -N $f $f-match
     done
 fi