basically any other shell draws PS2 and puts foo inside the heredoc bash draws PS1 and tries to run foo as a command