diff -rNu mc-4.6.2~git20080311/doc/mc.1.in mc-4.6.2~git20080311.patched/doc/mc.1.in
old
|
new
|
|
2131 | 2131 | you can specify startup |
2132 | 2132 | commands for the subshell in your ~/.mc/bashrc file and |
2133 | 2133 | special keyboard maps in the ~/.mc/inputrc file. |
2134 | | .B tcsh |
2135 | | users may specify startup commands in the ~/.mc/tcshrc file. |
| 2134 | .B zsh |
| 2135 | users may create ~/.mc/zsh and put all zsh rc files there, as |
| 2136 | it will be passed to zsh as $ZDOTDIR (see zsh(1)). |
2136 | 2137 | .PP |
2137 | 2138 | When the subshell code is used, you can suspend applications at any |
2138 | 2139 | time with the sequence C-o and jump back to the Midnight Commander, if |
diff -rNu mc-4.6.2~git20080311/src/subshell.c mc-4.6.2~git20080311.patched/src/subshell.c
old
|
new
|
|
248 | 248 | |
249 | 249 | break; |
250 | 250 | |
251 | | /* TODO: Find a way to pass initfile to TCSH and ZSH */ |
252 | | case TCSH: |
253 | 251 | case ZSH: |
| 252 | if (access (".mc/zsh", X_OK) == 0) |
| 253 | putenv ("ZDOTDIR=.mc/zsh"); |
| 254 | break; |
| 255 | |
| 256 | /* TODO: Find a way to pass initfile to TCSH */ |
| 257 | case TCSH: |
254 | 258 | break; |
255 | 259 | |
256 | 260 | default: |