about summary refs log tree commit diff
path: root/Functions/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-07-11 19:12:22 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-07-11 19:12:22 +0000
commitffabab4e74ae5b7e61550c528b8d19f6af6217e3 (patch)
tree666ce4565e2740f1f4bc4e1c07a2b188004f38f6 /Functions/Zle
parent1b1712d065fae345cc5658318757348e9fb298d0 (diff)
downloadzsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.tar.gz
zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.tar.xz
zsh-ffabab4e74ae5b7e61550c528b8d19f6af6217e3.zip
25276: use autoload -z for zsh-autoload functions
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/edit-command-line2
-rw-r--r--Functions/Zle/history-beginning-search-menu2
-rw-r--r--Functions/Zle/incarg2
-rw-r--r--Functions/Zle/modify-current-argument2
-rw-r--r--Functions/Zle/narrow-to-region-invisible2
-rw-r--r--Functions/Zle/predict-on2
-rw-r--r--Functions/Zle/quote-and-complete-word2
-rw-r--r--Functions/Zle/transpose-words-match2
-rw-r--r--Functions/Zle/url-quote-magic2
9 files changed, 9 insertions, 9 deletions
diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line
index f11a37482..4a9b10a1a 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 edit-command-line
+#   autoload -z 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/history-beginning-search-menu b/Functions/Zle/history-beginning-search-menu
index 916639adc..891374925 100644
--- a/Functions/Zle/history-beginning-search-menu
+++ b/Functions/Zle/history-beginning-search-menu
@@ -3,7 +3,7 @@
 # the entire history is searched.
 #
 # Configuration:
-#   autoload -U history-beginning-search-menu
+#   autoload -Uz history-beginning-search-menu
 #   zle -N history-beginning-search-menu
 #   bindkey '\eP' history-beginning-search-menu
 #
diff --git a/Functions/Zle/incarg b/Functions/Zle/incarg
index c4b05d01f..cff0cfe4c 100644
--- a/Functions/Zle/incarg
+++ b/Functions/Zle/incarg
@@ -1,6 +1,6 @@
 # Shell function to increment an integer either under the cursor or just
 # to the left of it.  Use
-#   autoload -U incarg
+#   autoload -Uz incarg
 #   zle -N incarg
 #   bindkey "..." incarg
 # to define it.  For example,
diff --git a/Functions/Zle/modify-current-argument b/Functions/Zle/modify-current-argument
index dd0b85a82..92ca7bdab 100644
--- a/Functions/Zle/modify-current-argument
+++ b/Functions/Zle/modify-current-argument
@@ -16,7 +16,7 @@ setopt localoptions noksharrays multibyte
 local -a reply
 integer REPLY REPLY2
 
-autoload -U split-shell-arguments
+autoload -Uz split-shell-arguments
 split-shell-arguments
 
 # Can't do this unless there's some text under or left of us.
diff --git a/Functions/Zle/narrow-to-region-invisible b/Functions/Zle/narrow-to-region-invisible
index d70966b96..312522d07 100644
--- a/Functions/Zle/narrow-to-region-invisible
+++ b/Functions/Zle/narrow-to-region-invisible
@@ -1,5 +1,5 @@
 # As narrow-to-region, but replaces the text outside the editable region
 # with `...' if it was non-empty.  Can be used directly as a widget.
 
-autoload -U narrow-to-region
+autoload -Uz narrow-to-region
 narrow-to-region -p '...' -P '...' -n
diff --git a/Functions/Zle/predict-on b/Functions/Zle/predict-on
index 33478c0b5..57fe048d5 100644
--- a/Functions/Zle/predict-on
+++ b/Functions/Zle/predict-on
@@ -15,7 +15,7 @@
 # with RETURN, without needing to move the cursor to the end first.
 #
 # To use it:
-#   autoload -U predict-on
+#   autoload -Uz predict-on
 #   zle -N predict-on
 #   zle -N predict-off
 #   bindkey '...' predict-on
diff --git a/Functions/Zle/quote-and-complete-word b/Functions/Zle/quote-and-complete-word
index e2646dbaa..a8c0618ae 100644
--- a/Functions/Zle/quote-and-complete-word
+++ b/Functions/Zle/quote-and-complete-word
@@ -5,7 +5,7 @@
 # normal completion fails, the quotes are removed again.
 #
 # To use it:
-#   autoload -U quote-and-complete-word
+#   autoload -Uz quote-and-complete-word
 #   zle -N quote-and-complete-word
 #   bindkey '\t' quote-and-complete-word
 #
diff --git a/Functions/Zle/transpose-words-match b/Functions/Zle/transpose-words-match
index 6e12c4fa1..8885c0b81 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 match-words-by-style
+autoload -z match-words-by-style
 
 local curcontext=":zle:$WIDGET" skip
 local -a matched_words
diff --git a/Functions/Zle/url-quote-magic b/Functions/Zle/url-quote-magic
index 826d26d09..ee8b6f62f 100644
--- a/Functions/Zle/url-quote-magic
+++ b/Functions/Zle/url-quote-magic
@@ -5,7 +5,7 @@
 # the input character.
 
 # Setup:
-#       autoload -U url-quote-magic
+#       autoload -Uz url-quote-magic
 #       zle -N self-insert url-quote-magic
 
 # A number of zstyles may be set to control the quoting behavior.