diff options
Diffstat (limited to 'Functions/Zle')
-rw-r--r-- | Functions/Zle/down-case-word-match | 2 | ||||
-rw-r--r-- | Functions/Zle/forward-word-match | 2 | ||||
-rw-r--r-- | Functions/Zle/history-pattern-search | 2 | ||||
-rw-r--r-- | Functions/Zle/insert-composed-char | 2 | ||||
-rw-r--r-- | Functions/Zle/kill-word-match | 2 | ||||
-rw-r--r-- | Functions/Zle/match-words-by-style | 2 | ||||
-rw-r--r-- | Functions/Zle/select-word-style | 4 | ||||
-rw-r--r-- | Functions/Zle/transpose-words-match | 2 | ||||
-rw-r--r-- | Functions/Zle/up-case-word-match | 2 | ||||
-rw-r--r-- | Functions/Zle/zed-set-file-name | 2 |
10 files changed, 11 insertions, 11 deletions
diff --git a/Functions/Zle/down-case-word-match b/Functions/Zle/down-case-word-match index 87d543f8d..3da9159c9 100644 --- a/Functions/Zle/down-case-word-match +++ b/Functions/Zle/down-case-word-match @@ -1,7 +1,7 @@ emulate -L zsh setopt extendedglob -autoload match-words-by-style +autoload -Uz match-words-by-style local curcontext=":zle:$WIDGET" word local -a matched_words diff --git a/Functions/Zle/forward-word-match b/Functions/Zle/forward-word-match index 2a4165c0c..50e18cbde 100644 --- a/Functions/Zle/forward-word-match +++ b/Functions/Zle/forward-word-match @@ -1,7 +1,7 @@ emulate -L zsh setopt extendedglob -autoload match-words-by-style +autoload -Uz match-words-by-style local curcontext=":zle:$WIDGET" word local -a matched_words diff --git a/Functions/Zle/history-pattern-search b/Functions/Zle/history-pattern-search index a6b12bd9c..0e3103e19 100644 --- a/Functions/Zle/history-pattern-search +++ b/Functions/Zle/history-pattern-search @@ -13,7 +13,7 @@ emulate -L zsh setopt extendedglob # Load required features. -autoload -U read-from-minibuffer +autoload -Uz read-from-minibuffer zmodload -i zsh/parameter local REPLY dir new diff --git a/Functions/Zle/insert-composed-char b/Functions/Zle/insert-composed-char index b218538f9..c0922e7d4 100644 --- a/Functions/Zle/insert-composed-char +++ b/Functions/Zle/insert-composed-char @@ -142,7 +142,7 @@ fi if (( ${+zsh_accented_chars} == 0 )); then # Save quite a lot of memory by running and then erasing # the function that defines the characters. - autoload -U define-composed-chars + autoload -Uz define-composed-chars define-composed-chars unfunction define-composed-chars fi diff --git a/Functions/Zle/kill-word-match b/Functions/Zle/kill-word-match index 5fcaeb86c..30db5ab35 100644 --- a/Functions/Zle/kill-word-match +++ b/Functions/Zle/kill-word-match @@ -1,7 +1,7 @@ emulate -L zsh setopt extendedglob -autoload match-words-by-style +autoload -Uz match-words-by-style local curcontext=":zle:$WIDGET" word done local -a matched_words diff --git a/Functions/Zle/match-words-by-style b/Functions/Zle/match-words-by-style index 2cbc35469..69ceba76a 100644 --- a/Functions/Zle/match-words-by-style +++ b/Functions/Zle/match-words-by-style @@ -73,7 +73,7 @@ local nwords MATCH MBEGIN MEND subwordrange local curcontext=${curcontext:-:zle:match-words-by-style} -autoload -U match-word-context +autoload -Uz match-word-context match-word-context while getopts "w:s:c:C:r:" opt; do 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 diff --git a/Functions/Zle/transpose-words-match b/Functions/Zle/transpose-words-match index 8885c0b81..c1db310c1 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 -z match-words-by-style +autoload -Uz match-words-by-style local curcontext=":zle:$WIDGET" skip local -a matched_words diff --git a/Functions/Zle/up-case-word-match b/Functions/Zle/up-case-word-match index 781290332..a24239525 100644 --- a/Functions/Zle/up-case-word-match +++ b/Functions/Zle/up-case-word-match @@ -1,7 +1,7 @@ emulate -L zsh setopt extendedglob -autoload match-words-by-style +autoload -Uz match-words-by-style local curcontext=":zle:$WIDGET" word local -a matched_words diff --git a/Functions/Zle/zed-set-file-name b/Functions/Zle/zed-set-file-name index ca7758c37..da3421e71 100644 --- a/Functions/Zle/zed-set-file-name +++ b/Functions/Zle/zed-set-file-name @@ -1,6 +1,6 @@ emulate -L zsh -autoload -U read-from-minibuffer +autoload -Uz read-from-minibuffer zle -K zed-normal-keymap |