From 62c5a5a60a5186d249f461efe5fed07949ca50ee Mon Sep 17 00:00:00 2001 From: Aurélien Aptel Date: Thu, 16 Feb 2012 19:24:46 +0100 Subject: use SHELL as default shell. --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index baea2bc..741e680 100644 --- a/st.c +++ b/st.c @@ -709,7 +709,7 @@ execsh(void) { char **args; char *envshell = getenv("SHELL"); - DEFAULT(envshell, "sh"); + DEFAULT(envshell, SHELL); putenv("TERM="TNAME); args = opt_cmd ? opt_cmd : (char*[]){envshell, "-i", NULL}; execvp(args[0], args); -- cgit v1.2.3