From 46c967903d39e02619c2172d1085c7d6cbb695b8 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Mon, 28 Jan 2019 19:27:16 -0800 Subject: [PATCH] env.cpp: swap entries of fallback PATH I had this backwards. Thanks @mqudsi --- src/env.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env.cpp b/src/env.cpp index ef85cda3d..aee612cc1 100644 --- a/src/env.cpp +++ b/src/env.cpp @@ -657,7 +657,7 @@ static void setup_path() { cspath.resize(confstr(_CS_PATH, nullptr, 0)); confstr(_CS_PATH, &cspath[0], cspath.length()); #else - std::string cspath = "/bin:/usr/bin"; // I doubt this is even necessary + std::string cspath = "/usr/bin:/bin"; // I doubt this is even necessary #endif vars.set_one(L"PATH", ENV_GLOBAL | ENV_EXPORT, str2wcstring(cspath)); }