1
1
mirror of https://github.com/jarun/nnn.git synced 2024-07-14 16:20:23 +03:00

Set PWD environment variable

This is to make spawned shells and processes to see "logical" path.
This commit is contained in:
me 2023-12-04 12:50:36 +03:00
parent f2a909dafd
commit ab718387c2

View File

@ -6835,6 +6835,8 @@ begin:
setdirwatch();
}
setenv("PWD", path, TRUE);
#ifndef NOX11
xterm_cfg(path);
#endif