mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 09:19:24 +03:00
Merge branch '3237_fish_pwd'
* 3237_fish_pwd: Ticket #3237: fish subshell pwd passing is broken.
This commit is contained in:
commit
d794397536
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user