raster pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=d11e53da62dcc9b894814fef42cdec62607d31b6

commit d11e53da62dcc9b894814fef42cdec62607d31b6
Author: Carsten Haitzler <ras...@rasterman.com>
Date:   Sun Aug 29 20:03:04 2021 +0100

    respect login shell config on start
    
    @fix - ignored option before and only used cmdline option
---
 src/bin/main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bin/main.c b/src/bin/main.c
index 0d3762a..c721b3b 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -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];

-- 


Reply via email to