X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=st.c;h=741e6807763851c7693cbc77d55e1cfe34112e6a;hb=6c0a1eff2fb2419b9bbfb545d0cf21a2e524efb2;hp=baea2bc6f82e979156b8fe37cdc12cd3f6a8edce;hpb=7823aeb1f9eb5b7a77b42506f5f60a5743f7f71f;p=st.git 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);