Make prompt_custom not print the segment if empty
Currently you can't make a conditional custom segment. This changes the prompt_custom function responsible for printing custom segments so that it won't print the segment in case the content is empty. With this it becomes possible to make conditional custom prompts simply by making it not print anything when it's not supposed to be shown.pull/22/head
parent
0b57ee3669
commit
89fdfa0148
Loading…
Reference in New Issue