related: https://github.com/elves/elvish/issues/827
I'm on a prompt implementation and would like to test I correctly support elvish
. I already do that for other shells by invoking their prompt variable/method, e.g.
bash
bash -ci 'echo $PS1'
fish
fish -c 'fish_prompt'
How can I print te prompt content in Elvish?