diff --git a/lua/taolf/main.lua b/lua/taolf/main.lua index e8cf4c2..57bc463 100644 --- a/lua/taolf/main.lua +++ b/lua/taolf/main.lua @@ -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,