the demo gif could use some delays before each clear...
Example:
10:54:01 foo@bar:~/scripts/xonsh$ xonsh
foo@bar ~/scripts/xonsh $ # no time prefix> PROMPT: The prompt text, may be str or function which returns a str.
If you need non-built-in values in your prompt, just set PROMPT to a function, and call something like `date` within the function. Use `%` to format `date`’s output into a template string, and then pass that template string to `xonsh.environ.format_prompt` to get the final value to return from the function.