Use wordsplit to expand command prompt in mu.
* mu/mu.h (mutool_prompt_vartab): Remove. (mutool_prompt_env): New extern. * mu/pop.c (pop_prompt_vartab): Rewrite as pop_prompt_env. All callers changed. * mu/shell.c (mutool_prompt_vartab): Remove variable. (mutool_prompt_env): New variable. (expand_prompt): Remove function. (input_line_interactive): Use mu_wordsplit to expand command prompt.
Showing
3 changed files
with
51 additions
and
40 deletions
-
Please register or sign in to post a comment