diff --git a/subshell1.c b/subshell.c
index b36fbbc..5ca60b5 100644
old
|
new
|
do_subshell_chdir (const vfs_path_t * vpath, gboolean update_prompt) |
1169 | 1169 | return; |
1170 | 1170 | } |
1171 | 1171 | |
1172 | | /* The initial space keeps this out of the command history (in bash |
| 1172 | if (strstr (mc_global.tty.shell, "/bash") || getenv ("BASH")) |
| 1173 | { |
| 1174 | static char erase[] = " "; |
| 1175 | erase[1] = shell_mode.c_cc[VKILL]; // def CKILL = CTRL('u') |
| 1176 | write_all (mc_global.tty.subshell_pty, erase, strlen(erase)); |
| 1177 | } |
| 1178 | |
| 1179 | /* The initial space keeps this out of the command history (in bash |
1173 | 1180 | because we set "HISTCONTROL=ignorespace") */ |
1174 | 1181 | write_all (mc_global.tty.subshell_pty, " cd ", 4); |
1175 | 1182 | |