diff --git a/doc.go b/doc.go index adb7cf5..0f7c65b 100644 --- a/doc.go +++ b/doc.go @@ -142,6 +142,7 @@ The following environment variables are exported for shell commands: fs fx id + PWD LF_LEVEL OPENER EDITOR @@ -703,6 +704,10 @@ Selected file(s) (i.e. 'fs') if there are any selected files, otherwise current Id of the running client. + PWD + +Present 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. diff --git a/docstring.go b/docstring.go index 8073a9b..7458e42 100644 --- a/docstring.go +++ b/docstring.go @@ -145,6 +145,7 @@ The following environment variables are exported for shell commands: fs fx id + PWD LF_LEVEL OPENER EDITOR @@ -754,6 +755,10 @@ current file selection (i.e. 'f'). Id of the running client. + PWD + +Present working directory. + LF_LEVEL The value of this variable is set to the current nesting level when you run diff --git a/lf.1 b/lf.1 index 9e17641..7032d4f 100644 --- a/lf.1 +++ b/lf.1 @@ -159,6 +159,7 @@ The following environment variables are exported for shell commands: fs fx id + PWD LF_LEVEL OPENER EDITOR @@ -845,6 +846,12 @@ Selected file(s) (i.e. 'fs') if there are any selected files, otherwise current .PP Id of the running client. .PP +.EX + PWD +.EE +.PP +Present working directory. +.PP .EX LF_LEVEL .EE