export OLDPWD variable as the initial directory

cc #601
This commit is contained in:
Gokcehan committed 2021-04-13 23:48:49 +03:00
1 parent c8f60623f3
commit 4601e74d66
4 files changed
+23

No files matched your search

+5
View File
@@ -144,6 +144,7 @@ The following environment variables are exported for shell commands:
fx
id
PWD
OLDPWD
LF_LEVEL
OPENER
EDITOR
@@ -716,6 +717,10 @@ Id of the running client.
Present working directory.
OLDPWD
Initial working directory.
LF_LEVEL
The value of this variable is set to the current nesting level when you run lf from a shell spawned inside lf.