Am Fr., 23. Dez. 2022 um 05:39 Uhr schrieb tooth pik <[email protected]>: > > it's not the PS2 prompt being used, it's the parts of PS1 that have to be > evaluated > are simply not being evaluated: the $(date '+%H:%M') and the \w > > when my PS1 is "$(date '+%H:%M') /w > " what winds up showing is the "> "
For me, this PS1 (with ``\w``, not ``/w``) works just fine, i.e., after having said ``vim`` or ``vim x``, the PS1 is printed as expected after having left vim. Is the behaviour on your side the same with a more simple PS1? What's the outcome of ``type vim``? You can possibly investigate if it is actually PS2 or not by setting PS2 to some different string (``export PS2="fancy> "`` or the like). - F. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAN06%3DCxBKxJ8p31imYVnJgP-g2K2orqvgwMcikDWZZ6wqzN8HQ%40mail.gmail.com.
