tuse SHELL as default shell. - st - [fork] customized build of st, the simple terminal (HTM) git clone git://src.adamsgaard.dk/st (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 6c0a1eff2fb2419b9bbfb545d0cf21a2e524efb2 (DIR) parent 7823aeb1f9eb5b7a77b42506f5f60a5743f7f71f (HTM) Author: Aurélien Aptel <aurelien.aptel@gmail.com> Date: Thu, 16 Feb 2012 19:24:46 +0100 use SHELL as default shell. Diffstat: M st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/st.c b/st.c t@@ -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);