summaryrefslogtreecommitdiff
path: root/Functions/Zle/select-word-style
diff options
context:
space:
mode:
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