mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
c.f. users/15202: use "autoload -Uz" consistently
This commit is contained in:
parent
278a892888
commit
10c2f225fd
16 changed files with 37 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue