aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMateus "Doodad" Medeiros <dood.ad@outlook.com>2016-05-24 16:53:48 +0300
committerMateus "Doodad" Medeiros <dood.ad@outlook.com>2016-05-24 17:02:35 +0300
commit89fdfa0148fe1c3360a9e2d09fe0f7a5e9b0ceec (patch)
tree0752f704fc26c0712e0623fd6e984aa548b9e014 /README.md
parent0b57ee3669dd2d6d536ecff116345a929f6b068c (diff)
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.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions