Commit 6c0a1ef

Aurélien Aptel <aurelien.aptel@gmail.com>
2012-02-16 13:24:46
use SHELL as default shell.
1 parent 7823aeb
Changed files (1)
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);