diff --git a/src/subshell/common.c b/src/subshell/common.c
index eca94311e..54f8c205b 100644
a
|
b
|
init_subshell_precmd (char *precmd, size_t buff_size) |
882 | 882 | */ |
883 | 883 | g_snprintf (precmd, buff_size, |
884 | 884 | " if not functions -q fish_prompt_mc;" |
| 885 | "functions -e fish_right_prompt;" |
885 | 886 | "functions -c fish_prompt fish_prompt_mc; end;" |
886 | 887 | "function fish_prompt;" |
887 | | "echo (whoami)@(hostname -s):(set_color $fish_color_cwd)(pwd)(set_color normal)\\$\\ ; " |
888 | 888 | "echo \"$PWD\">&%d; fish_prompt_mc; kill -STOP %%self; end\n", |
889 | 889 | subshell_pipe[WRITE]); |
890 | 890 | break; |