pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7823aeb
)
use SHELL as default shell.
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Thu, 16 Feb 2012 18:24:46 +0000
(19:24 +0100)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Thu, 16 Feb 2012 18:24:46 +0000
(19:24 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
baea2bc
..
741e680
100644
(file)
--- 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);