mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Ticket #3177: fix long start of mc if SHELL is zsh.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
5f94d51fab
commit
c96a73da49
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user