Ticket #3237: fish_pwd_fix.diff
File fish_pwd_fix.diff, 592 bytes (added by chown, 10 years ago) |
---|
-
src/subshell.c
diff --git a/src/subshell.c b/src/subshell.c index 3f03ac9..a85b258 100644
a b init_subshell (void) 893 893 g_snprintf (precmd, sizeof (precmd), 894 894 "if not functions -q fish_prompt_mc;" 895 895 "functions -c fish_prompt fish_prompt_mc; end;" 896 "function fish_prompt; pwd>&%d; fish_prompt_mc; kill -STOP %%self; end\n",896 "function fish_prompt; echo $PWD>&%d; fish_prompt_mc; kill -STOP %%self; end\n", 897 897 subshell_pipe[WRITE]); 898 898 break; 899 899