From 13617210530dcc1809bbc175be5fda5352957ace Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 29 May 2019 06:34:54 +0200 Subject: [PATCH] Terminal: Add /usr/local/bin to the default PATH. Now that we're building all these ports, let's have them in the PATH. :^) --- Applications/Terminal/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/Terminal/main.cpp b/Applications/Terminal/main.cpp index ad36b72ea9..2cf5f5dbf1 100644 --- a/Applications/Terminal/main.cpp +++ b/Applications/Terminal/main.cpp @@ -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");