From 4de3dbac168aa5e89d4f7c278917c8af4b226542 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 28 Jul 2010 14:01:12 +0000 Subject: c.f. users/15202: use "autoload -Uz" consistently --- Functions/Misc/sticky-note | 2 +- Functions/Misc/zcalc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions/Misc') 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> "} -- cgit v1.3.1