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
If there is really someone without SHELL set, help him/her.
master
Christoph Lohmann
12 years ago
parent
9e813947cf
commit
eb6713acf1
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
st.c
+ 3
- 0
st.c
View File
@ -865,6 +865,9 @@ execsh(void) {
char
*
*
args
;
char
*
envshell
=
getenv
(
"
SHELL
"
)
;
if
(
envshell
=
=
NULL
)
envshell
=
"
/bin/sh
"
;
unsetenv
(
"
COLUMNS
"
)
;
unsetenv
(
"
LINES
"
)
;
unsetenv
(
"
TERMCAP
"
)
;
Write
Preview
Loading…
Cancel
Save