Ticket #3177: fix long start of mc if SHELL is zsh.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Egmont Koblinger 2014-03-14 09:31:37 +04:00 committed by Andrew Borodin
parent 5f94d51fab
commit c96a73da49

View File

@ -879,7 +879,7 @@ init_subshell (void)
case ZSH:
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]);
break;