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:
Andrew Borodin 2014-03-14 09:34:19 +04:00
commit 92235939f1

View File

@ -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;