Terminal: Add /usr/local/bin to the default PATH.
Now that we're building all these ports, let's have them in the PATH. :^)
This commit is contained in:
parent
6785250f8c
commit
1361721053
Notes:
sideshowbarker
2024-07-19 13:51:16 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/13617210530
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ static void make_shell(int ptm_fd)
|
|||
exit(1);
|
||||
}
|
||||
char* args[] = { "/bin/Shell", nullptr };
|
||||
char* envs[] = { "TERM=xterm", "PATH=/bin:/usr/bin", nullptr };
|
||||
char* envs[] = { "TERM=xterm", "PATH=/bin:/usr/bin:/usr/local/bin", nullptr };
|
||||
rc = execve("/bin/Shell", args, envs);
|
||||
if (rc < 0) {
|
||||
perror("execve");
|
||||
|
|
Loading…
Add table
Reference in a new issue