Add -print-last-dir and -print-selection flags (#1402)

* Add `-print-last-dir` and `-print-selection` flags

* Add shell completions

* Update `lfcd.sh` example to use new flag
This commit is contained in:
Joe Lim authored and GitHub committed 2023-08-31 10:10:31 +10:00
1 parent 63d21b5a3e
commit 6aa3d2aa18
10 files changed
+50 -26

No files matched your search

+2
View File
@@ -20,6 +20,8 @@ arguments=(
'-last-dir-path[path to the file to write the last dir on exit (to use for cd)]'
'-log[path to the log file to write messages]'
'-memprofile[path to the file to write the memory profile]'
'-print-last-dir[print the last dir to stdout on exit (to use for cd)]'
'-print-selection[print the selected files to stdout on open (to use as open file dialog)]'
'-remote[send remote command to server]'
'-selection-path[path to the file to write selected files on open (to use as open file dialog)]'
'-server[start server (automatic)]'