Closed sbliven closed 3 years ago
that prompt-field comes from prompt_ret_code
xontrib.
You need to load it by either
xontrib load prompt_ret_code
or
import xontrib.prompt_ret_code
thanks for bringing it. Now the README is updated.
I am trying to use
{ret_code}
in my prompt but it get's printed literally:In my xonshrc I have
I copied this from the README, but I didn't really understand the formatting syntax.