| 1 |
# Autocompletion for fish shell. |
| 2 |
# |
| 3 |
# You may put this file to a directory in $fish_complete_path variable: |
| 4 |
# |
| 5 |
# mkdir -p ~/.config/fish/completions |
| 6 |
# ln -s "/path/to/lf.fish" ~/.config/fish/completions |
| 7 |
# |
| 8 |
|
| 9 |
complete -c lf -o command -r -d 'command to execute on client initialization' |
| 10 |
complete -c lf -o config -r -d 'path to the config file (instead of the usual paths)' |
| 11 |
complete -c lf -o cpuprofile -r -d 'path to the file to write the CPU profile' |
| 12 |
complete -c lf -o doc -d 'show documentation' |
| 13 |
complete -c lf -o last-dir-path -r -d 'path to the file to write the last dir on exit (to use for cd)' |
| 14 |
complete -c lf -o log -r -d 'path to the log file to write messages' |
| 15 |
complete -c lf -o memprofile -r -d 'path to the file to write the memory profile' |
| 16 |
complete -c lf -o print-last-dir -d 'print the last dir to stdout on exit (to use for cd)' |
| 17 |
complete -c lf -o print-selection -d 'print the selected files to stdout on open (to use as open file dialog)' |
| 18 |
complete -c lf -o remote -x -d 'send remote command to server' |
| 19 |
complete -c lf -o selection-path -r -d 'path to the file to write selected files on open (to use as open file dialog)' |
| 20 |
complete -c lf -o server -d 'start server (automatic)' |
| 21 |
complete -c lf -o single -d 'start a client without server' |
| 22 |
complete -c lf -o version -d 'show version' |
| 23 |
complete -c lf -o help -d 'show help' |