Line 0
Link Here
|
|
|
1 |
--- lib/shell.c.orig |
2 |
+++ lib/shell.c |
3 |
@@ -162,6 +162,12 @@ mc_shell_recognize_and_fill_type (mc_shell_t * mc_shell) |
4 |
mc_shell->type = SHELL_TCSH; |
5 |
mc_shell->name = "tcsh"; |
6 |
} |
7 |
+ else if (strstr (mc_shell->path, "/csh") != NULL |
8 |
+ || strstr (mc_shell->real_path, "/csh") != NULL) |
9 |
+ { |
10 |
+ mc_shell->type = SHELL_TCSH; |
11 |
+ mc_shell->name = "csh"; |
12 |
+ } |
13 |
else if (strstr (mc_shell->path, "/fish") != NULL |
14 |
|| strstr (mc_shell->real_path, "/fish") != NULL) |
15 |
{ |