Export command line flags as environment variables (#2079)

This commit is contained in:
Joe Lim authored and GitHub committed 2025-08-07 15:59:13 +10:00
1 parent 42b36fd52c
commit 02156a3806
4 files changed
+25 -1

No files matched your search

+5
View File
@@ -236,6 +236,7 @@ The following environment variables are exported for shell commands:
lf
lf_{option}
lf_user_{option}
lf_flag_{flag}
lf_width
lf_height
lf_count
@@ -1167,6 +1168,10 @@ Value of the {option}.
Value of the user_{option}.
## lf_flag_{flag}
Value of the command line {flag}.
## lf_width, lf_height
Width/Height of the terminal.