mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Ticket #2742: detect csh as tcsh by name
Signed-off-by: Yury V. Zaytsev <yury.zaytsev@traveltainment.de>
This commit is contained in:
parent
7b928e6b94
commit
6dfbebf71e
@ -154,6 +154,12 @@ mc_shell_recognize_real_path (mc_shell_t * mc_shell)
|
||||
mc_shell->type = SHELL_TCSH;
|
||||
mc_shell->name = "tcsh";
|
||||
}
|
||||
else if (strstr (mc_shell->path, "/csh") != NULL
|
||||
|| strstr (mc_shell->real_path, "/csh") != NULL)
|
||||
{
|
||||
mc_shell->type = SHELL_TCSH;
|
||||
mc_shell->name = "csh";
|
||||
}
|
||||
else if (strstr (mc_shell->path, "/fish") != NULL
|
||||
|| strstr (mc_shell->real_path, "/fish") != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user