[zsh] This IO redirection was bad; redirection stdout and err is >&, not &>

This commit is contained in:
Eryn Wells 2022-05-26 14:50:19 -07:00
parent b2a1d2fc83
commit 4317bfd61e

View file

@ -2,7 +2,7 @@
# Eryn Wells <eryn@erynwells.me>
for func in ${(P)${1}}; do
if autoload -Uz $func &> -; then
if autoload -Uz $func >& -; then
$func
fi
done