lf/etc/lf.zsh

31 lines
936 B
Bash
Raw Normal View History

#compdef lf
2020-12-23 23:28:25 +00:00
# Autocompletion for zsh shell.
#
2020-12-23 23:28:25 +00:00
# You need to rename this file to _lf and add containing folder to $fpath in
# ~/.zshrc file:
#
# fpath=(/path/to/directory/containing/the/file $fpath)
# autoload -U compinit
# compinit
#
local arguments
arguments=(
2020-12-23 23:28:25 +00:00
'-command[command to execute on client initialization]'
2021-04-13 20:29:26 +00:00
'-config[path to the config file (instead of the usual paths)]'
2020-12-23 23:28:25 +00:00
'-cpuprofile[path to the file to write the CPU profile]'
'-doc[show documentation]'
'-last-dir-path[path to the file to write the last dir on exit (to use for cd)]'
'-memprofile[path to the file to write the memory profile]'
'-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)]'
'-version[show version]'
2021-04-13 20:29:26 +00:00
'-help[show help]'
2020-12-23 23:28:25 +00:00
'*:filename:_files'
)
_arguments -s $arguments