summaryrefslogtreecommitdiffstats
path: root/Functions
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-07-28 14:01:12 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-07-28 14:01:12 +0000
commit4de3dbac168aa5e89d4f7c278917c8af4b226542 (patch)
tree88b3dbdecef8f0ee5c6b110124a8ce6de7699135 /Functions
parentc.f. users/15202: use "autoload -Uz" consistently (diff)
downloadzsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.gz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.bz2
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.lz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.xz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.zst
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.zip
c.f. users/15202: use "autoload -Uz" consistently
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Calendar/age2
-rw-r--r--Functions/Calendar/calendar2
-rw-r--r--Functions/Calendar/calendar_add2
-rw-r--r--Functions/Calendar/calendar_parse2
-rw-r--r--Functions/Calendar/calendar_sort2
-rw-r--r--Functions/MIME/zsh-mime-setup2
-rw-r--r--Functions/Misc/sticky-note2
-rw-r--r--Functions/Misc/zcalc2
-rw-r--r--Functions/Prompts/promptinit4
-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
13 files changed, 14 insertions, 14 deletions
diff --git a/Functions/Calendar/age b/Functions/Calendar/age
index 160aae4a8..8f6278fa2 100644
--- a/Functions/Calendar/age
+++ b/Functions/Calendar/age
@@ -31,7 +31,7 @@ emulate -L zsh
zmodload -F zsh/stat b:zstat
zmodload -i zsh/parameter
-autoload -U calendar_scandate
+autoload -Uz calendar_scandate
local -a vals tmp
diff --git a/Functions/Calendar/calendar b/Functions/Calendar/calendar
index 48876aa51..00f59981c 100644
--- a/Functions/Calendar/calendar
+++ b/Functions/Calendar/calendar
@@ -13,7 +13,7 @@ local -A reply
zmodload -i zsh/datetime || return 1
zmodload -i zsh/zutil || return 1
-autoload -U calendar_{add,parse,read,scandate,show,lockfiles}
+autoload -Uz calendar_{add,parse,read,scandate,show,lockfiles}
# Read the calendar file from the calendar-file style
zstyle -s ':datetime:calendar:' calendar-file calendar || calendar=~/calendar
diff --git a/Functions/Calendar/calendar_add b/Functions/Calendar/calendar_add
index c06deda3a..f71400f04 100644
--- a/Functions/Calendar/calendar_add
+++ b/Functions/Calendar/calendar_add
@@ -21,7 +21,7 @@ local -A reply parse_new parse_old
local -a match mbegin mend
local my_uid their_uid
-autoload -U calendar_{parse,read,lockfiles}
+autoload -Uz calendar_{parse,read,lockfiles}
while getopts "BL" opt; do
case $opt in
diff --git a/Functions/Calendar/calendar_parse b/Functions/Calendar/calendar_parse
index b08622a9d..1025a9a25 100644
--- a/Functions/Calendar/calendar_parse
+++ b/Functions/Calendar/calendar_parse
@@ -40,7 +40,7 @@ integer now then replaced firstsched schedrpt
# may occur multiple times. We set occurrences[<timestamp>]=disposition.
local -A occurrences
-autoload -U calendar_scandate
+autoload -Uz calendar_scandate
typeset -gA reply
diff --git a/Functions/Calendar/calendar_sort b/Functions/Calendar/calendar_sort
index 0eddd12c7..171d4f981 100644
--- a/Functions/Calendar/calendar_sort
+++ b/Functions/Calendar/calendar_sort
@@ -1,7 +1,7 @@
emulate -L zsh
setopt extendedglob
-autoload -U calendar_{read,scandate,lockfiles}
+autoload -Uz calendar_{read,scandate,lockfiles}
local calendar line REPLY new lockfile
local -a calendar_entries
diff --git a/Functions/MIME/zsh-mime-setup b/Functions/MIME/zsh-mime-setup
index 7c2269014..23e44fdc0 100644
--- a/Functions/MIME/zsh-mime-setup
+++ b/Functions/MIME/zsh-mime-setup
@@ -3,7 +3,7 @@ setopt extendedglob cbases
local opt o_verbose o_list
-autoload -U zsh-mime-handler
+autoload -Uz zsh-mime-handler
while getopts "flv" opt; do
case $opt in
diff --git a/Functions/Misc/sticky-note b/Functions/Misc/sticky-note
index 6286d61a4..f52a8812e 100644
--- a/Functions/Misc/sticky-note
+++ b/Functions/Misc/sticky-note
@@ -44,7 +44,7 @@ then
return 0
fi
-(($+bg && $+fg)) || { autoload -U colors; colors }
+(($+bg && $+fg)) || { autoload -Uz colors; colors }
# Invoked as a command, behave like zed, but write a history file
setopt nobanghist extendedhistory histignoredups
diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc
index ebf5cf471..2d0cf5d40 100644
--- a/Functions/Misc/zcalc
+++ b/Functions/Misc/zcalc
@@ -105,7 +105,7 @@ history -ap "${ZDOTDIR:-$HOME}/.zcalc_history"
forms=( '%2$g' '%.*g' '%.*f' '%.*E' '')
zmodload -i zsh/mathfunc 2>/dev/null
-autoload -U zmathfuncdef
+autoload -Uz zmathfuncdef
: ${ZCALCPROMPT="%1v> "}
diff --git a/Functions/Prompts/promptinit b/Functions/Prompts/promptinit
index 98c220fc1..0aa810236 100644
--- a/Functions/Prompts/promptinit
+++ b/Functions/Prompts/promptinit