I'm not sure how to make the anonymous function wrapper structure work with the prompt_x_setup format expected by promptinit. How about making the variable name less collision-likely, something like `prompt_pure_username`?

Using the prompt_name prefix on functions/variables used by prompts seems to be convention.