Merge pull request #1140 from zsh-users/update-completions
Update completions cmake, node, xsel
This commit is contained in:
commit
922abfe707
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for CMake 3.25.0 (https://cmake.org).
|
||||
# Completion script for CMake 3.31.0 (https://cmake.org).
|
||||
#
|
||||
# -------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
@ -77,6 +77,7 @@ local -a cmake_build_options=(
|
|||
|
||||
'--preset=[Specify a configure preset]:preset:_cmake_presets'
|
||||
'--list-presets[List available presets]'
|
||||
'--workflow[Run a workflow preset]'
|
||||
|
||||
'-E[CMake command mode]:command:_cmake_command_help'
|
||||
|
||||
|
@ -94,6 +95,7 @@ local -a cmake_build_options=(
|
|||
|
||||
'--graphviz=[Generate graphviz of dependencies, see CMakeGraphVizOptions.cmake for more]:graphviz output:_files'
|
||||
'--system-information[Dump information about this system]::system information output:_files'
|
||||
'--print-config-dir[Print CMake config directory for user-wide FileAPI queries]'
|
||||
|
||||
'--log-level=[Set the verbosity of messages from CMake files]:log level:(ERROR WARNING NOTICE STATUS VERBOSE DEBUG TRACE)'
|
||||
'--log-context[Prepend log messages with context, if given]'
|
||||
|
@ -101,6 +103,8 @@ local -a cmake_build_options=(
|
|||
'--debug-trycompile[Do not delete the try_compile build tree. Only useful on one try_compile at a time]'
|
||||
'--debug-output[Put cmake in a debug mode]'
|
||||
'--debug-find[Put cmake find in a debug mode]'
|
||||
'--debug-find-pkg=[Limit cmake debug-find to the comma-separated list of packages]:packages'
|
||||
'--debug-find-var=[Limit cmake debug-find to the comma-separated list of result variables]:variables'
|
||||
|
||||
'(--trace-expand)--trace[Put cmake in trace mode]'
|
||||
'(--trace)--trace-expand[Put cmake in trace mode with variable expansion]'
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for Node.js v24.0.0 (https://nodejs.org)
|
||||
# Completion script for Node.js v24.4.0 (https://nodejs.org)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
@ -232,6 +232,7 @@ _arguments -C \
|
|||
'(- 1 *)--v8-options[print v8 command line options]' \
|
||||
"--v8-pool-size=[set v8's thread pool size]:number" \
|
||||
"--watch[run in watch mode]" \
|
||||
'--watch-kill-signal=[kill signal to send to the process on watch mode restarts]:signal:_signals -s' \
|
||||
"--watch-path=[path to watch]: :_node_files" \
|
||||
'--watch-preserve-output[preserve outputs on watch mode restart]' \
|
||||
'--zero-fill-buffers[automatically zero-fill all newly allocated Buffer and SlowBuffer instances]' \
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
# Description
|
||||
# -----------
|
||||
#
|
||||
# Completion script for xsel (https://www.vergenet.net/~conrad/software/xsel/).
|
||||
# Completion script for xsel v1.2.1 (https://www.vergenet.net/~conrad/software/xsel/).
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
# Authors
|
||||
|
@ -45,6 +45,7 @@ local selection='(-p --primary -s --secondary -b --clipboard)'
|
|||
_arguments -s \
|
||||
$input{-a,--append}'[append standard input to the selection]' \
|
||||
$input{-f,--follow}'[append to selection as standard input grows]' \
|
||||
$input{-z,--zeroflush}'[overwrites selection when zero(\\0) is received]' \
|
||||
$input{-i,--input}'[read standard input into the selection]' \
|
||||
{-o,--output}'[write the selection to standard output]' \
|
||||
$operation{-c,--clear}'[clear the selection]' \
|
||||
|
@ -55,6 +56,7 @@ _arguments -s \
|
|||
$operation{-k,--keep}'[do not modify the selections, but make the PRIMARY and SECONDARY selections persist even after the programs they were selected in exit]' \
|
||||
$operation{-x,--exchange}'[exchange the PRIMARY and SECONDARY selections]' \
|
||||
'--display[specify the server to use; see X(1)]:X display:_x_display' \
|
||||
'--windowName[specify the X WM_ NAME window property]:window_name' \
|
||||
{-t,--selectionTimeout}'[specify the timeout in milliseconds within which the selection must be retrieved]:number' \
|
||||
{-l,--logfile}'[specify the file to log errors to when detached (default $HOME/.xsel.log)]:log file:_files' \
|
||||
{-n,--nodetach}'[do not detach from the controlling terminal]' \
|
||||
|
|
Loading…
Reference in New Issue