Merge branch '3237_fish_pwd'

* 3237_fish_pwd:
  Ticket #3237: fish subshell pwd passing is broken.
This commit is contained in:
Andrew Borodin 2014-08-13 09:22:06 +04:00
commit d794397536

View File

@ -893,7 +893,7 @@ init_subshell (void)
g_snprintf (precmd, sizeof (precmd),
"if not functions -q fish_prompt_mc;"
"functions -c fish_prompt fish_prompt_mc; end;"
"function fish_prompt; pwd>&%d; fish_prompt_mc; kill -STOP %%self; end\n",
"function fish_prompt; echo $PWD>&%d; fish_prompt_mc; kill -STOP %%self; end\n",
subshell_pipe[WRITE]);
break;