mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Merge branch '3177_zsh_long_start'
* 3177_zsh_long_start: Ticket #3177: fix long start of mc if SHELL is zsh.
This commit is contained in:
commit
92235939f1
@ -879,7 +879,7 @@ init_subshell (void)
|
|||||||
|
|
||||||
case ZSH:
|
case ZSH:
|
||||||
g_snprintf (precmd, sizeof (precmd),
|
g_snprintf (precmd, sizeof (precmd),
|
||||||
" _mc_precmd(){ pwd>&%d;kill -STOP $$ }; precmd_functions+=_mc_precmd\n",
|
" _mc_precmd(){ pwd>&%d;kill -STOP $$ }; precmd_functions+=(_mc_precmd)\n",
|
||||||
subshell_pipe[WRITE]);
|
subshell_pipe[WRITE]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user