enabled completions, added header
This commit is contained in:
parent
1afcc0825b
commit
6c69ad9f7b
41
src/_primus
41
src/_primus
|
@ -1,23 +1,36 @@
|
|||
#compdef primus
|
||||
# ------------------------------------------------------------------------------
|
||||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for ack 1.94 (http://betterthangrep.com).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
# -------
|
||||
#
|
||||
# * Christophe-Marie Duquesne <chm.duquesne@gmail.com>
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
local curcontext="$curcontext" state line
|
||||
typeset -A opt_args
|
||||
|
||||
args=(
|
||||
# '--version[output version information]'
|
||||
# '(-h --help)'{-h,--help}'[show help]'
|
||||
# '(-c --vgl-compress)'{-c,--vgl-compress}'[image transport method]:method:(proxy jpeg rgb xb yuv)'
|
||||
# '--failsafe[run a program even if the nvidia card is unavailable]'
|
||||
# '--no-failsafe[do not run a program if the nvidia card is unavailable]'
|
||||
# '--vgl-options[options to be passed to vglrun (example: +tr)]'
|
||||
# '(-q --quiet --silent)'{-q,--quiet,--silent}'[supress all logging messages]'
|
||||
# '(-v --verbose)'{-v,--verbose}'[increase the verbosity level of log messages]'
|
||||
# '--debug[set the verbosity level to the maximum]'
|
||||
# '(-d --display)'{-d,--display}'[the X display number to use]'
|
||||
# '(-C --config)'{-C,--config}'[retrieve settings for Bumblebee from FILE]:file:_files'
|
||||
# '(-l --ldpath)'{-l,--ldpath}'[PATH the libraries like libGL.so are searched in]:file:_files'
|
||||
# '(-s --socket)'{-s,--socket}'[use FILE for communication with the daemon]:file:_files'
|
||||
'*::arguments: _normal'
|
||||
'--version[output version information]'
|
||||
'(-h --help)'{-h,--help}'[show help]'
|
||||
'(-c --vgl-compress)'{-c,--vgl-compress}'[image transport method]:method:(proxy jpeg rgb xb yuv)'
|
||||
'--failsafe[run a program even if the nvidia card is unavailable]'
|
||||
'--no-failsafe[do not run a program if the nvidia card is unavailable]'
|
||||
'--vgl-options[options to be passed to vglrun (example: +tr)]'
|
||||
'(-q --quiet --silent)'{-q,--quiet,--silent}'[supress all logging messages]'
|
||||
'(-v --verbose)'{-v,--verbose}'[increase the verbosity level of log messages]'
|
||||
'--debug[set the verbosity level to the maximum]'
|
||||
'(-d --display)'{-d,--display}'[the X display number to use]'
|
||||
'(-C --config)'{-C,--config}'[retrieve settings for Bumblebee from FILE]:file:_files'
|
||||
'(-l --ldpath)'{-l,--ldpath}'[PATH the libraries like libGL.so are searched in]:file:_files -/'
|
||||
'(-s --socket)'{-s,--socket}'[use FILE for communication with the daemon]:file:_files'
|
||||
)
|
||||
|
||||
_arguments $args
|
||||
|
|
Loading…
Reference in New Issue