mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
parent
e5bfdcd9a4
commit
789657456a
1 changed files with 1 additions and 0 deletions
|
@ -382,6 +382,7 @@ int env_set_pwd()
|
|||
wchar_t *res = wgetcwd(dir_path, 4096);
|
||||
if (!res)
|
||||
{
|
||||
debug(0, _(L"Could not determine current working directory. Is your locale set correctly?"));
|
||||
return 0;
|
||||
}
|
||||
env_set(L"PWD", dir_path, ENV_EXPORT | ENV_GLOBAL);
|
||||
|
|
Loading…
Reference in a new issue