Compare commits
9 Commits
2270f7d579
...
33e9c1fba0
| Author | SHA1 | Date |
|---|---|---|
|
|
33e9c1fba0 | |
|
|
334c14d1b4 | |
|
|
13da012c18 | |
|
|
6ea4709fbc | |
|
|
e6d53fa31b | |
|
|
bf2c539329 | |
|
|
cb54ea87ae | |
|
|
4f5416f5fd | |
|
|
9b4fd08520 |
|
|
@ -28,7 +28,7 @@
|
||||||
# Description
|
# Description
|
||||||
# -----------
|
# -----------
|
||||||
#
|
#
|
||||||
# Completion script for CMake 4.3.0 (https://cmake.org).
|
# Completion script for CMake 4.4.0 (https://cmake.org).
|
||||||
#
|
#
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Authors
|
# Authors
|
||||||
|
|
@ -75,6 +75,7 @@ local -a cmake_build_options=(
|
||||||
'(-Werror=deprecated)-Wno-error=deprecated[Make deprecated macro and function warnings (not) errors]'
|
'(-Werror=deprecated)-Wno-error=deprecated[Make deprecated macro and function warnings (not) errors]'
|
||||||
|
|
||||||
'--preset=[Specify a configure preset]:preset:_cmake_presets'
|
'--preset=[Specify a configure preset]:preset:_cmake_presets'
|
||||||
|
'--presets-file=[Specify the path to a presets file]:file:_files'
|
||||||
'--list-presets[List available presets]'
|
'--list-presets[List available presets]'
|
||||||
'--workflow[Run a workflow preset]'
|
'--workflow[Run a workflow preset]'
|
||||||
|
|
||||||
|
|
@ -707,13 +708,17 @@ _cmake_launchers() {
|
||||||
(( $+functions[_cmake_commands] )) ||
|
(( $+functions[_cmake_commands] )) ||
|
||||||
_cmake_commands() {
|
_cmake_commands() {
|
||||||
local -a commands=(
|
local -a commands=(
|
||||||
|
'bin2c:Turn a binary file into a C array'
|
||||||
'capabilities:Report capabilities built into cmake in JSON format'
|
'capabilities:Report capabilities built into cmake in JSON format'
|
||||||
'cat:concat the files and print them to the standard output'
|
'cat:concat the files and print them to the standard output'
|
||||||
'chdir:run command in a given directory'
|
'chdir:run command in a given directory'
|
||||||
'compare_files:check if file1 is same as file2'
|
'compare_files:check if file1 is same as file2'
|
||||||
'copy:copy files to destination (either file or directory)'
|
'copy:copy files to destination (either file or directory)'
|
||||||
'copy_directory:copy content of <dir>... directories to destination directory'
|
'copy_directory:copy content of <dir>... directories to destination directory'
|
||||||
|
'copy_directory_if_different:copy changed content of <dir>... directories to destination directory'
|
||||||
|
'copy_directory_if_newer:copy newer content of <dir>... directories to destination directory'
|
||||||
'copy_if_different:copy files if it has changed'
|
'copy_if_different:copy files if it has changed'
|
||||||
|
'copy_if_newer:copy files if source is newer than destination'
|
||||||
'echo:displays arguments as text'
|
'echo:displays arguments as text'
|
||||||
'echo_append:displays arguments as text but no new line'
|
'echo_append:displays arguments as text but no new line'
|
||||||
'env:run command in a modified environment'
|
'env:run command in a modified environment'
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
# Description
|
# Description
|
||||||
# -----------
|
# -----------
|
||||||
#
|
#
|
||||||
# Completion script for cpack 4.3.0 (https://kitware.com/cmake)
|
# Completion script for cpack 4.4.0 (https://kitware.com/cmake)
|
||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Authors
|
# Authors
|
||||||
|
|
@ -51,6 +51,7 @@ _cpack() {
|
||||||
'-B[Override/define CPACK_PACKAGE_DIRECTORY]:package_directory:_files -/' \
|
'-B[Override/define CPACK_PACKAGE_DIRECTORY]:package_directory:_files -/' \
|
||||||
'--vendor[Override/define CPACK_PACKAGE_VENDOR]:vendor' \
|
'--vendor[Override/define CPACK_PACKAGE_VENDOR]:vendor' \
|
||||||
'--preset[Read arguments from a package preset]' \
|
'--preset[Read arguments from a package preset]' \
|
||||||
|
'--presets-file=[Specify the path to a presets file]:file:_files' \
|
||||||
'--list-presets[List available package preset]' \
|
'--list-presets[List available package preset]' \
|
||||||
'(- *)'{--version,-version}=-'[Print version number and exit]::format:(json-v1)' \
|
'(- *)'{--version,-version}=-'[Print version number and exit]::format:(json-v1)' \
|
||||||
'(- *)--help[Print usage information and exit]' \
|
'(- *)--help[Print usage information and exit]' \
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
# Description
|
# Description
|
||||||
# -----------
|
# -----------
|
||||||
#
|
#
|
||||||
# Completion script for ctest 4.3.0 (https://kitware.com/cmake)
|
# Completion script for ctest 4.4.0 (https://kitware.com/cmake)
|
||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Authors
|
# Authors
|
||||||
|
|
@ -39,6 +39,7 @@ _ctest() {
|
||||||
|
|
||||||
_arguments \
|
_arguments \
|
||||||
'--preset=[Read arguments from a test preset]:preset' \
|
'--preset=[Read arguments from a test preset]:preset' \
|
||||||
|
'--presets-file=[Specify the path to a presets file]:file:_files' \
|
||||||
'--list-presets[List available test presets]' \
|
'--list-presets[List available test presets]' \
|
||||||
'(-C --build-config)'{-C,--build-config}'[Choose configuration to test]:config' \
|
'(-C --build-config)'{-C,--build-config}'[Choose configuration to test]:config' \
|
||||||
'--progress[Enable short progress output from tests]' \
|
'--progress[Enable short progress output from tests]' \
|
||||||
|
|
@ -67,6 +68,7 @@ _ctest() {
|
||||||
'*-D[Define a variable for script mode]:var' \
|
'*-D[Define a variable for script mode]:var' \
|
||||||
'(-M --test-model)'{-M,--test-model}'[Set the model for a dashboard]:model' \
|
'(-M --test-model)'{-M,--test-model}'[Set the model for a dashboard]:model' \
|
||||||
'(-T --test-action)'{-T,--test-action}'[Set the dashboard action to perform]' \
|
'(-T --test-action)'{-T,--test-action}'[Set the dashboard action to perform]' \
|
||||||
|
'--source-dir[Specify the project source directory]:dir:_files -/' \
|
||||||
'--group[Specify what build group on the dashboard]:group' \
|
'--group[Specify what build group on the dashboard]:group' \
|
||||||
\*{-S,--script,-Sp,--script-new-process}'[Execute a dashboard for a configuration]:script:_files' \
|
\*{-S,--script,-Sp,--script-new-process}'[Execute a dashboard for a configuration]:script:_files' \
|
||||||
'(-A --add-notes)'{-A,--add-notes}'[Add a notes file with submission]:file:_files' \
|
'(-A --add-notes)'{-A,--add-notes}'[Add a notes file with submission]:file:_files' \
|
||||||
|
|
@ -82,7 +84,7 @@ _ctest() {
|
||||||
'--resource-spec-file[Set the resource spec file to use]:file:_files' \
|
'--resource-spec-file[Set the resource spec file to use]:file:_files' \
|
||||||
'--no-label-summary[Disable timing summary information for labels]' \
|
'--no-label-summary[Disable timing summary information for labels]' \
|
||||||
'--no-subproject-summary[Disable timing summary information for subprojects]' \
|
'--no-subproject-summary[Disable timing summary information for subprojects]' \
|
||||||
'--test-dir[Specify the directory in which to look for tests]:dir:_files -/' \
|
'(--test-dir --build-dir)'{--test-dir,--build-dir}'[Specify the directory in which to look for tests]:dir:_files -/' \
|
||||||
'--build-and-test[Configure, build and run a test]' \
|
'--build-and-test[Configure, build and run a test]' \
|
||||||
'*--build-target[Specify a specific target to build]:target' \
|
'*--build-target[Specify a specific target to build]:target' \
|
||||||
'--build-nocmake[Run the build without running cmake first]' \
|
'--build-nocmake[Run the build without running cmake first]' \
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@ _arguments \
|
||||||
'--print-query[print out the current query as first line of output]' \
|
'--print-query[print out the current query as first line of output]' \
|
||||||
'--color[color mode(default: auto)]:mode:(auto none)' \
|
'--color[color mode(default: auto)]:mode:(auto none)' \
|
||||||
'--height[display height in lines or percentage(e.g. 10, 50%)]:height' \
|
'--height[display height in lines or percentage(e.g. 10, 50%)]:height' \
|
||||||
|
'(-f --follow)'{-f,--follow}'[follow streaming input, auto-scrolling to keep the newest lines visible]' \
|
||||||
'*::file:_files'
|
'*::file:_files'
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
# Description
|
# Description
|
||||||
# -----------
|
# -----------
|
||||||
#
|
#
|
||||||
# Completion script for rubocop 1.86.1 (https://github.com/rubocop/rubocop)
|
# Completion script for rubocop 1.88.2 (https://github.com/rubocop/rubocop)
|
||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Authors
|
# Authors
|
||||||
|
|
@ -58,6 +58,8 @@ _arguments \
|
||||||
'(-F --fail-fast)'{-F,--fail-fast}'[Inspect files in order of modification time and stop after the first file containing offenses]' \
|
'(-F --fail-fast)'{-F,--fail-fast}'[Inspect files in order of modification time and stop after the first file containing offenses]' \
|
||||||
'(--disable-pending-cops --enable-pending-cops)--disable-pending-cops[Run without pending cops]' \
|
'(--disable-pending-cops --enable-pending-cops)--disable-pending-cops[Run without pending cops]' \
|
||||||
'(--disable-pending-cops --enable-pending-cops)--enable-pending-cops[Run with pending cops]' \
|
'(--disable-pending-cops --enable-pending-cops)--enable-pending-cops[Run with pending cops]' \
|
||||||
|
'(--disable-all-cops --enable-all-cops)--disable-all-cops[Run with all cops disabled by default, except "Lint/Syntax"]' \
|
||||||
|
'(--disable-all-cops --enable-all-cops)--enable-all-cops[Run with all enabled]' \
|
||||||
'--ignore-disable-comments[Run cops even when they are disabled locally by a "rubocop:disable" directive]' \
|
'--ignore-disable-comments[Run cops even when they are disabled locally by a "rubocop:disable" directive]' \
|
||||||
'--force-exclusion[Any files excluded by `Exclude` in configuration files will be excluded, even if given explicitly as arguments]' \
|
'--force-exclusion[Any files excluded by `Exclude` in configuration files will be excluded, even if given explicitly as arguments]' \
|
||||||
'--only-recognized-file-types[Inspect files given on the command line only if they are listed in configuration]' \
|
'--only-recognized-file-types[Inspect files given on the command line only if they are listed in configuration]' \
|
||||||
|
|
|
||||||
66
src/_sdd
66
src/_sdd
|
|
@ -1,66 +0,0 @@
|
||||||
#compdef sdd
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
|
||||||
# modification, are permitted provided that the following conditions are met:
|
|
||||||
# * Redistributions of source code must retain the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer.
|
|
||||||
# * Redistributions in binary form must reproduce the above copyright
|
|
||||||
# notice, this list of conditions and the following disclaimer in the
|
|
||||||
# documentation and/or other materials provided with the distribution.
|
|
||||||
# * Neither the name of the zsh-users nor the
|
|
||||||
# names of its contributors may be used to endorse or promote products
|
|
||||||
# derived from this software without specific prior written permission.
|
|
||||||
#
|
|
||||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
# DISCLAIMED. IN NO EVENT SHALL ZSH-USERS BE LIABLE FOR ANY
|
|
||||||
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
||||||
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# Description
|
|
||||||
# -----------
|
|
||||||
#
|
|
||||||
# Completion script for sdd (http://freshmeat.net/projects/sdd/).
|
|
||||||
#
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# Authors
|
|
||||||
# -------
|
|
||||||
#
|
|
||||||
# * Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
|
||||||
#
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
_values -w 'option' \
|
|
||||||
'if[specify input file]:input file:_tilde_files' \
|
|
||||||
'of[specify output file]:output file:_tilde_files' \
|
|
||||||
'(bs)ibs[input block size]:block size (bytes)' \
|
|
||||||
'(bs)obs[output block size]:block size (bytes)' \
|
|
||||||
'(ibs obs)bs[block size]:block size (bytes)' \
|
|
||||||
'cbs[conversion buffer size]:buffer size (bytes)' \
|
|
||||||
'skip[input/output initially skipped]:bytes' \
|
|
||||||
'seek[input/output initially skipped]:bytes' \
|
|
||||||
'count[number of input blocks to copy]:blocks' \
|
|
||||||
'-notrunc[do not truncate existing output file]' \
|
|
||||||
'-pg[print a dot on each write to indicate progress]' \
|
|
||||||
'-noerror[do not stop on error]' \
|
|
||||||
'-noerrwrite[do not write blocks not read correctly]' \
|
|
||||||
"-noseek[don't seek]" \
|
|
||||||
'try[error retry count]:number' \
|
|
||||||
'-debug[print debugging messages]' \
|
|
||||||
'-fill[fill each record with zeros up to obs]' \
|
|
||||||
'-swab' '-block' '-unblock' '-lcase' '-ucase' '-ascii' '-ebcdic' '-ibm' \
|
|
||||||
'-help[show help]' \
|
|
||||||
'-version[show version]'
|
|
||||||
|
|
||||||
# Local Variables:
|
|
||||||
# mode: Shell-Script
|
|
||||||
# sh-indentation: 2
|
|
||||||
# indent-tabs-mode: nil
|
|
||||||
# sh-basic-offset: 2
|
|
||||||
# End:
|
|
||||||
# vim: ft=zsh sw=2 ts=2 et
|
|
||||||
Loading…
Reference in New Issue