Commit graph

3 commits

Author SHA1 Message Date
Jean-Benoist Leger
b6d339a825 ret_code should return None not '' when rc==0
When the return code is 0, nothing is displayed in the prompt. Empty string was
returned. Returning None have the same behavior, but allows user to use the
syntax "{retcode:{} }" in the prompt for different spacing.
2017-01-02 01:27:34 +01:00
laerus
927dd300b6 renamed FORMATTER_DICT to PROMPT_FIELDS 2016-11-02 16:06:35 +02:00
Cody Scott
4672438eed Adding prompt_ret_code to xontribs 2016-08-25 12:32:15 -04:00