From 044a7f98b99611aa55baeaf3b9111e5b809e0a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20T=C3=B6rnqvist?= Date: Sun, 12 Jan 2014 20:00:38 +0200 Subject: [PATCH] Use config->login_shell Thanks cippp for finding this! --- src/bin/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/main.c b/src/bin/main.c index 2ec099bf..5b166ae6 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -293,7 +293,7 @@ _split_split(Split *sp, Eina_Bool horizontal) config = config_fork(sp->term->config); if (termio_cwd_get(sp->term->term, buf, sizeof(buf))) wdir = buf; sp2->term = main_term_new(sp->wn, config, - NULL, EINA_FALSE, wdir, + NULL, config->login_shell, wdir, 80, 24, EINA_FALSE); sp2->terms = eina_list_append(sp2->terms, sp2->term); _term_resize_track_start(sp2); @@ -367,7 +367,7 @@ main_new_with_dir(Evas_Object *win, Evas_Object *term, const char *wdir) config = config_fork(sp->term->config); termio_size_get(sp->term->term, &w, &h); sp->term = main_term_new(sp->wn, config, - NULL, EINA_FALSE, wdir, + NULL, config->login_shell, wdir, w, h, EINA_FALSE); sp->terms = eina_list_append(sp->terms, sp->term); _term_resize_track_start(sp);