prompt_type_string
typestr = prompt_type_string(t);
cmdq_print(item, "History for %s:\n", prompt_type_string(type));
fputs(prompt_type_string(type), f);
if (strcmp(type, prompt_type_string(i)) == 0)
format_add(ft, "prompt_type", "%s", prompt_type_string(pr->type));
const char *prompt_type_string(enum prompt_type);
const char *type_string = prompt_type_string(type);