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