Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Could multios response positively to isatty(1) test?



Hello,
If at least one of the outputs of the multios-utilizing invocation is
to a terminal, .e.g

print "$fg[blue]A TEST$reset_color" \
    > >(ansifilter >>! "log.txt") 1> >/dev/tty

then could Zshell answer positively to the isatty(1) test for the
application (like e.g. vim) placed the way that the print-command is?
Is this doable?

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org



Messages sorted by: Reverse Date, Date, Thread, Author