From 10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 28 Jul 2010 13:33:52 +0000 Subject: c.f. users/15202: use "autoload -Uz" consistently --- Functions/Zle/select-word-style | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/Zle/select-word-style') 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 -- cgit v1.2.3