Debian Codegraph @

etc/lf.nu

raw
1 # Autocompletion for nushell.
2 #
3 # Documentation: https://www.nushell.sh/book/externs.html
4
5 # To enable autocompletion you may put this file into a directory:
6 #
7 # mkdir -p ~/.config/nushell/completions
8 # ln -s "/path/to/lf.nu" ~/.config/nushell/completions
9 #
10 # Then you need to source this file in your nu config (Open the config with the
11 # command 'config nu' inside the nushell) by adding:
12 #
13 # source ~/.config/nushell/completions/lf.nu
14
15 export extern "lf" [
16 --command # command to execute on client initialization
17 --config: string # path to the config file (instead of the usual paths)
18 --cpuprofile: string # path to the file to write the CPU profile
19 --doc # show documentation
20 --last-dir-path: string # path to the file to write the last dir on exit (to use for cd)
21 --log: string # path to the log file to write messages
22 --memprofile: string # path to the file to write the memory profile
23 --print-last-dir # print the last dir to stdout on exit (to use for cd)
24 --print-selection # print the selected files to stdout on open (to use as open file dialog)
25 --remote: string # send remote command to server
26 --selection-path: string # path to the file to write selected files on open (to use as open file dialog)
27 --server # start server (automatic)
28 --single # start a client without server
29 --version # show version
30 --help # show help
31 ]