mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
Add csh
to the list of fallback shell options
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
6dfbebf71e
commit
0430ec719b
@ -76,6 +76,8 @@ mc_shell_get_installed_in_system (void)
|
|||||||
mc_shell->path = g_strdup ("/bin/zsh");
|
mc_shell->path = g_strdup ("/bin/zsh");
|
||||||
else if (access ("/bin/tcsh", X_OK) == 0)
|
else if (access ("/bin/tcsh", X_OK) == 0)
|
||||||
mc_shell->path = g_strdup ("/bin/tcsh");
|
mc_shell->path = g_strdup ("/bin/tcsh");
|
||||||
|
else if (access ("/bin/csh", X_OK) == 0)
|
||||||
|
mc_shell->path = g_strdup ("/bin/csh");
|
||||||
/* No fish as fallback because it is so much different from other shells and
|
/* No fish as fallback because it is so much different from other shells and
|
||||||
* in a way exotic (even though user-friendly by name) that we should not
|
* in a way exotic (even though user-friendly by name) that we should not
|
||||||
* present it as a subshell without the user's explicit intention. We rather
|
* present it as a subshell without the user's explicit intention. We rather
|
||||||
|
Loading…
Reference in New Issue
Block a user