Implement files query to export files in the current directory as (#1949)
presented in lf (including filter/sorting) `lf -remote "query $id files"` This version updates `files` list only before running shell commands.
This commit is contained in:
1 parent
3fdd991040
commit
1878faa942
5 files changed
+23
-1
No files matched your search
@@ -1470,6 +1470,7 @@ The following types of information are supported:
|
||||
cmds list of commands created by the 'cmd' command
|
||||
jumps contents of the jump list, showing previously visited locations
|
||||
history list of previously executed commands on the command line
|
||||
files list of files in the currently open directory as displayed by lf, empty if dir is still loading
|
||||
|
||||
This is useful for scripting actions based on the internal state of lf.
|
||||
For example, to select a previous command using fzf and execute it:
|
||||
|
||||
Reference in new issue
Block a user