about summary refs log tree commit diff
path: root/Functions/Misc
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/Misc
parent10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1 (diff)
downloadzsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.gz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.tar.xz
zsh-4de3dbac168aa5e89d4f7c278917c8af4b226542.zip
c.f. users/15202: use "autoload -Uz" consistently
Diffstat (limited to 'Functions/Misc')
-rw-r--r--Functions/Misc/sticky-note2
-rw-r--r--Functions/Misc/zcalc2
2 files changed, 2 insertions, 2 deletions
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> "}