lf/etc/lf.zsh

29 lines
845 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]'
'-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]'
'*:filename:_files'
)
_arguments -s $arguments