Ticket #3177: mc-3177-zsh-subshell.patch

File mc-3177-zsh-subshell.patch, 475 bytes (added by egmont, 11 years ago)

fix

  • src/subshell.c

    diff --git a/src/subshell.c b/src/subshell.c
    index 99c9e1f..3d908be 100644
    a b init_subshell (void) 
    879879 
    880880    case ZSH: 
    881881        g_snprintf (precmd, sizeof (precmd), 
    882                     " _mc_precmd(){ pwd>&%d;kill -STOP $$ }; precmd_functions+=_mc_precmd\n", 
     882                    " _mc_precmd(){ pwd>&%d;kill -STOP $$ }; precmd_functions+=(_mc_precmd)\n", 
    883883                    subshell_pipe[WRITE]); 
    884884        break; 
    885885