snailed
/
taolf
Archived
2
0
Fork 0

export environment env var for lf

This is useful when scripting lf and you need to adjust behavior for taolf. Eventually I will have to rewrite the opening mechanism to make a lot of this scripting easier.
This commit is contained in:
Luca Bilke 2024-02-17 17:45:49 +01:00
parent d2b58b122d
commit 8be2fbcfd8
No known key found for this signature in database
GPG Key ID: AD6630D0A1E650AC
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ function Lf:__set_cmd_wrapper()
end
self.term.cmd =
([[%s -command='$printf $id > %s' -last-dir-path='%s' -selection-path='%s' '%s']])
([[env TAOLF=true %s -command='$printf $id > %s' -last-dir-path='%s' -selection-path='%s' '%s']])
:format(
self.term.cmd,
self.tmp_id,