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:
1 parent
63d21b5a3e
commit
6aa3d2aa18
10 files changed
+50
-26
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# Autocompletion for nushell.
|
||||
#
|
||||
#
|
||||
# Documentation: https://www.nushell.sh/book/externs.html
|
||||
|
||||
# To enable autocompletion you may put this file into a directory:
|
||||
@@ -20,6 +20,8 @@ export extern "lf" [
|
||||
--last-dir-path: string # path to the file to write the last dir on exit (to use for cd)
|
||||
--log: string # path to the log file to write messages
|
||||
--memprofile: string # 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: string # send remote command to server
|
||||
--selection-path: string # path to the file to write selected files on open (to use as open file dialog)
|
||||
--server # start server (automatic)
|
||||
|
||||
Reference in new issue
Block a user