about summary refs log tree commit diff
path: root/Functions/Misc
diff options
context:
space:
mode:
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> "}