mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
env.cpp: swap entries of fallback PATH
I had this backwards. Thanks @mqudsi
This commit is contained in:
parent
4064ab8183
commit
46c967903d
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue