summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-11-07 17:05:56 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2013-11-07 17:05:56 +0100
commit4deb9f91f6c39216c7818a97353a56803fca77a2 (patch)
tree43dcd0489ffd30aad36cdc1469080ef79716627f
parent1e22362792ca819c8cf86171b4da92b8e10a89a9 (diff)
Start bash as login shell
Pass -l so bash runs as login-shell as usual. Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
-rw-r--r--src/wlterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wlterm.c b/src/wlterm.c
index e9d87e6..b805295 100644
--- a/src/wlterm.c
+++ b/src/wlterm.c
@@ -130,7 +130,7 @@ static void __attribute__((noreturn)) term_run_child(struct term *term)
{
char **argv = (char*[]){
getenv("SHELL") ? : _PATH_BSHELL,
- "-i",
+ "-il",
NULL
};