mirror of
https://github.com/jarun/nnn.git
synced 2025-04-15 09:56:32 +00:00
Set PWD environment variable
This is to make spawned shells and processes to see "logical" path.
This commit is contained in:
parent
f2a909dafd
commit
ab718387c2
1 changed files with 2 additions and 0 deletions
|
@ -6835,6 +6835,8 @@ begin:
|
|||
setdirwatch();
|
||||
}
|
||||
|
||||
setenv("PWD", path, TRUE);
|
||||
|
||||
#ifndef NOX11
|
||||
xterm_cfg(path);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue