lf/etc/lf.fish

20 lines
1005 B
Fish
Raw Normal View History

2019-03-03 19:29:34 +00:00
# Autocompletion for fish shell.
#
# You may put this file to a directory in $fish_complete_path variable:
#
# mkdir -p ~/.config/fish/completions
# ln -s "/path/to/lf.fish" ~/.config/fish/completions
#
2019-01-17 14:51:32 +00:00
2019-03-03 19:29:34 +00:00
complete -c lf -o command -r -d 'command to execute on client initialization'
2021-04-13 20:29:26 +00:00
complete -c lf -o config -r -d 'path to the config file (instead of the usual paths)'
2019-03-03 19:29:34 +00:00
complete -c lf -o cpuprofile -r -d 'path to the file to write the CPU profile'
complete -c lf -o doc -d 'show documentation'
complete -c lf -o last-dir-path -r -d 'path to the file to write the last dir on exit (to use for cd)'
complete -c lf -o memprofile -r -d 'path to the file to write the memory profile'
complete -c lf -o remote -x -d 'send remote command to server'
complete -c lf -o selection-path -r -d 'path to the file to write selected files on open (to use as open file dialog)'
complete -c lf -o server -d 'start server (automatic)'
complete -c lf -o version -d 'show version'
complete -c lf -o help -d 'show help'