zshはバグ多い。

#!/bin/zsh
echo hoge >file1 >file2 >/dev/stdout

↑これだけで固まるw