+- else if (access ("/bin/csh", X_OK) == 0)
+- mc_shell->path = g_strdup ("/bin/csh");
++ if (access ("@TERMUX_PREFIX@/bin/bash", X_OK) == 0)
++ mc_shell->path = g_strdup ("@TERMUX_PREFIX@/bin/bash");
++ else if (access ("@TERMUX_PREFIX@/bin/ash", X_OK) == 0)
++ mc_shell->path = g_strdup ("@TERMUX_PREFIX@/bin/ash");
++ else if (access ("@TERMUX_PREFIX@/bin/dash", X_OK) == 0)
++ mc_shell->path = g_strdup ("@TERMUX_PREFIX@/bin/dash");
++ else if (access ("@TERMUX_PREFIX@/bin/zsh", X_OK) == 0)
++ mc_shell->path = g_strdup ("@TERMUX_PREFIX@/bin/zsh");