respect login shell config on start

@fix - ignored option before and only used cmdline option
This commit is contained in:
Carsten Haitzler 2021-08-29 20:03:04 +01:00
parent f82d129468
commit d11e53da62
1 changed files with 3 additions and 0 deletions

View File

@ -1049,6 +1049,9 @@ elm_main(int argc, char **argv)
elm_theme_overlay_add(NULL, theme_path_get("default"));
elm_theme_overlay_add(NULL, config_theme_path_get(instance.config));
if (instance.login_shell == IPC_INSTANCE_OPT_UNSET)
instance.login_shell = instance.config->login_shell;
if ((!single) && (instance.config->multi_instance))
{
char cwdbuf[4096];