nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ab718387c26a1154d2d0f11985f7f96878f788c9
parent f2a909dafddaa1f8ed2541fbd5873015c9a4710b
Author: me <email>
Date:   Mon,  4 Dec 2023 12:50:36 +0300

Set PWD environment variable

This is to make spawned shells and processes to see "logical" path.

Diffstat:
Msrc/nnn.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -6835,6 +6835,8 @@ begin: setdirwatch(); } + setenv("PWD", path, TRUE); + #ifndef NOX11 xterm_cfg(path); #endif