This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
st
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
use SHELL as default shell.
master
Aurélien Aptel
12 years ago
parent
7823aeb1f9
commit
6c0a1eff2f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
st.c
+ 1
- 1
st.c
View File
@ -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
)
;
Write
Preview
Loading…
Cancel
Save