summaryrefslogtreecommitdiff
path: root/Functions/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/delete-whole-word-match2
-rw-r--r--Functions/Zle/edit-command-line2
-rw-r--r--Functions/Zle/replace-string2
-rw-r--r--Functions/Zle/replace-string-again2
4 files changed, 4 insertions, 4 deletions
diff --git a/Functions/Zle/delete-whole-word-match b/Functions/Zle/delete-whole-word-match
index 5b31ad5b0..aece86065 100644
--- a/Functions/Zle/delete-whole-word-match
+++ b/Functions/Zle/delete-whole-word-match
@@ -16,7 +16,7 @@ local -a matched_words
# Start and end of range of characters to remove.
integer pos1 pos2
-autoload -U match-words-by-style
+autoload -Uz match-words-by-style
match-words-by-style
if [[ -n "${matched_words[3]}" ]]; then
diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line
index 62a59a72e..250cac65f 100644
--- a/Functions/Zle/edit-command-line
+++ b/Functions/Zle/edit-command-line
@@ -1,6 +1,6 @@
# Edit the command line using your usual editor.
# Binding this to 'v' in the vi command mode map,
-# autoload -z edit-command-line
+# autoload -Uz edit-command-line
# zle -N edit-command-line
# bindkey -M vicmd v edit-command-line
# will give ksh-like behaviour for that key,
diff --git a/Functions/Zle/replace-string b/Functions/Zle/replace-string
index 0b08dbae0..bc608e577 100644
--- a/Functions/Zle/replace-string
+++ b/Functions/Zle/replace-string
@@ -1,7 +1,7 @@
emulate -L zsh
setopt extendedglob
-autoload -U read-from-minibuffer replace-string-again
+autoload -Uz read-from-minibuffer replace-string-again
local p1="Replace: " p2=" with: "
# Saving curwidget is necessary to avoid the widget name being overwritten.
diff --git a/Functions/Zle/replace-string-again b/Functions/Zle/replace-string-again
index 8f4d23854..83a24167e 100644
--- a/Functions/Zle/replace-string-again
+++ b/Functions/Zle/replace-string-again
@@ -39,7 +39,7 @@ if [[ $curwidget = *(pattern|regex)* ]]; then
done
rep2+=$rep
if [[ $curwidget = *regex* ]]; then
- autoload -U regexp-replace
+ autoload -Uz regexp-replace
regexp-replace LBUFFER $_replace_string_src $rep2
regexp-replace RBUFFER $_replace_string_src $rep2
else