diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-07-28 14:01:12 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-07-28 14:01:12 +0000 |
commit | 4de3dbac168aa5e89d4f7c278917c8af4b226542 (patch) | |
tree | 88b3dbdecef8f0ee5c6b110124a8ce6de7699135 /Functions/Misc | |
parent | 10c2f225fdb6e2b6cd96b2f3786d6134e19bbfd1 (diff) | |
download | zsh-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-note | 2 | ||||
-rw-r--r-- | Functions/Misc/zcalc | 2 |
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> "} |