mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
Adding the COLORTERM environment variable
This commit is contained in:
parent
6ce9ec69ad
commit
4dfb6683cd
1
st.c
1
st.c
@ -951,6 +951,7 @@ execsh(char *cmd, char **args)
|
|||||||
setenv("SHELL", sh, 1);
|
setenv("SHELL", sh, 1);
|
||||||
setenv("HOME", pw->pw_dir, 1);
|
setenv("HOME", pw->pw_dir, 1);
|
||||||
setenv("TERM", termname, 1);
|
setenv("TERM", termname, 1);
|
||||||
|
setenv("COLORTERM", "truecolor", 1);
|
||||||
|
|
||||||
signal(SIGCHLD, SIG_DFL);
|
signal(SIGCHLD, SIG_DFL);
|
||||||
signal(SIGHUP, SIG_DFL);
|
signal(SIGHUP, SIG_DFL);
|
||||||
|
Loading…
Reference in New Issue
Block a user