mdoc-test () { sleep 0 | sleep 0 cat} echo start |VISUAL=vim command vipe|mdoc-test # zsh: suspended (tty output)