├── zsh-completions.plugin.zsh ├── .gitignore ├── .editorconfig ├── .github └── PULL_REQUEST_TEMPLATE.md ├── src ├── _hello ├── _wg-quick ├── _periscope ├── _ecdsautil ├── _age ├── _jmeter-plugins ├── _rev ├── _rdfind ├── _swaplabel ├── _swapoff ├── _tsx ├── _vipw ├── _git-pulls ├── _tmuxinator ├── _homestead ├── _uuidparse ├── _chcpu ├── _yamllint ├── _chpasswd ├── _mcookie ├── _gas ├── _mkcert ├── _envdir ├── _artisan ├── _augparse ├── _do-release-upgrade ├── _distro_info ├── _ffind ├── _networkQuality ├── _ipcmk ├── _teamocil ├── _chmem ├── _choc ├── _git-revise ├── _exportfs ├── _fail2ban-regex ├── _augprint ├── _atach ├── _mina ├── _jmeter ├── _chatblade ├── _dad ├── _sdkmanager ├── _ipcrm ├── _git-wtf ├── _rslsync ├── _l3build ├── _uuidd ├── _sdd ├── _neo ├── _subliminal ├── _wdctl ├── _lsmem ├── _clang-check ├── _ipcs ├── _augmatch ├── _archlinux-java ├── _lslocks ├── _patool ├── _kitchen ├── _afew ├── _swapon ├── _fallocate ├── _jrnl ├── _gtk-launch ├── _shellcheck ├── _pixz ├── _shallow-backup ├── _kak ├── _uuidgen ├── _dget ├── _zramctl ├── _ldattach └── _optirun ├── LICENSE └── CONTRIBUTING.md /zsh-completions.plugin.zsh: -------------------------------------------------------------------------------- 1 | fpath+="${0:A:h}/src" 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # zsh word code files 2 | *.zwc 3 | 4 | # IDE files 5 | .vscode/ 6 | .idea/ 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | ; This file is for unifying the coding style for different editors and IDEs. 2 | ; More information at https://editorconfig.org/ 3 | 4 | root = true 5 | 6 | [_*] 7 | indent_style = space 8 | indent_size = 2 9 | tab_width = 2 10 | end_of_line = LF 11 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | - [ ] This compdef is not already available in zsh. 6 | - [ ] This compdef is not already available in their original project. 7 | - [ ] I am the original author, or I have authorization to submit this work. 8 | - [ ] This is a finished work. 9 | - [ ] It has a header containing authors, status and origin of the script. 10 | - [ ] It has a license header or I accept that it will be licensed under the terms of the Zsh license. 11 | -------------------------------------------------------------------------------- /src/_hello: -------------------------------------------------------------------------------- 1 | #compdef hello 2 | # ------------------------------------------------------------------------------ 3 | # Description 4 | # ----------- 5 | # 6 | # Completion script for GNU hello (https://www.gnu.org/software/hello/). 7 | # 8 | # ------------------------------------------------------------------------------ 9 | # Authors 10 | # ------- 11 | # 12 | # * Wu Zhenyu 13 | # 14 | # ------------------------------------------------------------------------------ 15 | 16 | _arguments -s '(- *)'{-h,--help}'[display this help and exit]' \ 17 | '(- *)'{-v,--version}'[display version information and exit]' \ 18 | {-t,--traditional}'[use traditional greeting]' \ 19 | {-g,--greeting=}'[use TEXT as the greeting message]:TEXT' 20 | -------------------------------------------------------------------------------- /src/_wg-quick: -------------------------------------------------------------------------------- 1 | #compdef wg-quick 2 | # ------------------------------------------------------------------------------ 3 | # Description 4 | # ----------- 5 | # 6 | # Completion script for wg-quick (a script for easy managemant of wireguard 7 | # VPN tunnels) (https://www.wireguard.com/) 8 | # 9 | # ------------------------------------------------------------------------------ 10 | # Authors 11 | # ------- 12 | # 13 | # * Nicolas Lenz 14 | # 15 | # ------------------------------------------------------------------------------ 16 | 17 | # The possible modes 18 | local modes=('up\:"bring a wireguard interface up"'\ 19 | 'down\:"tear down and remove a wireguard interface"'\ 20 | 'save\:"save configuration of a running wireguard interface"') 21 | 22 | # 1: Complete mode 23 | # 2: Complete interface with all .conf files in /etc/wireguard without the filename extension. 24 | _arguments "1:mode:((${modes}))"\ 25 | '2:interface:_path_files -W /etc/wireguard -g "*.conf(^/:r)"' 26 | -------------------------------------------------------------------------------- /src/_periscope: -------------------------------------------------------------------------------- 1 | #compdef periscope 2 | # ------------------------------------------------------------------------------ 3 | # Description 4 | # ----------- 5 | # 6 | # Completion script for Periscope (https://code.google.com/archive/p/periscope/). 7 | # 8 | # ------------------------------------------------------------------------------ 9 | # Authors 10 | # ------- 11 | # 12 | # * Julien Nicoulaud 13 | # 14 | # ------------------------------------------------------------------------------ 15 | 16 | 17 | _arguments \ 18 | '(- : *)'{-h,--help}'[show help message and exit]' \ 19 | '(- : *)--version[show version number and exit]' \ 20 | '*'{-l,--language}'[wanted language]: :_language_codes ISO-639-1' \ 21 | '(-f --force)'{-f,--force}'[replace existing subtitle file]' \ 22 | '(-q --query)'{-q,--query}'[query to send to the subtitles website]:queries' \ 23 | '--list-plugins[list all plugins supported by periscope]' \ 24 | '--list-active-plugins[list all plugins used to search subtitles]' \ 25 | '--cache-folder[cache/config directory to use]: :_files -/' \ 26 | '--quiet[run in quiet mode (only show warn and error messages)]' \ 27 | '--debug[set the logging level to debug]' \ 28 | '*: :_files' 29 | 30 | # Local Variables: 31 | # mode: Shell-Script 32 | # sh-indentation: 2 33 | # indent-tabs-mode: nil 34 | # sh-basic-offset: 2 35 | # End: 36 | # vim: ft=zsh sw=2 ts=2 et 37 | -------------------------------------------------------------------------------- /src/_ecdsautil: -------------------------------------------------------------------------------- 1 | #compdef ecdsautil 2 | # ------------------------------------------------------------------------------ 3 | # Description 4 | # ----------- 5 | # 6 | # Completion script for ecdsaultils v0.4.0 (https://github.com/freifunk-gluon/ecdsautils) 7 | # 8 | # ------------------------------------------------------------------------------ 9 | # Authors 10 | # ------- 11 | # 12 | # * Robinhuett 13 | # 14 | # ------------------------------------------------------------------------------ 15 | 16 | _ecdsautil_args() { 17 | case $words[1] in 18 | (sign) 19 | _arguments '1:somefile:_files' 20 | ;; 21 | (verify) 22 | _arguments '-s[signature]:secret:_files' '-p[publickey]:pubkey:_files' 23 | '-n[signaturecount]:signaturecount:""' ':file:_files' 24 | ;; 25 | esac 26 | } 27 | 28 | _ecdsautil() { 29 | local -a commands 30 | 31 | commands=( 32 | "help:Show help" 33 | "generate-key:generate a new secret on stdout" 34 | "show-key:output public key of secret read from stdin" 35 | "sign:sign file" 36 | "verify:verify signature of file" 37 | ) 38 | 39 | _arguments -C \ 40 | '1:cmd:->cmds' \ 41 | '*:: :->args' \ 42 | 43 | case "$state" in 44 | (cmds) 45 | _describe -t commands 'commands' commands 46 | ;; 47 | (*) 48 | _ecdsautil_args 49 | ;; 50 | esac 51 | } 52 | 53 | _ecdsautil "$@" 54 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The Z Shell is copyright (c) 1992-2017 Paul Falstad, Richard Coleman, 2 | Zoltán Hidvégi, Andrew Main, Peter Stephenson, Sven Wischnowsky, and 3 | others. All rights reserved. Individual authors, whether or not 4 | specifically named, retain copyright in all changes; in what follows, they 5 | are referred to as `the Zsh Development Group'. This is for convenience 6 | only and this body has no legal status. The Z shell is distributed under 7 | the following licence; any provisions made in individual files take 8 | precedence. 9 | 10 | Permission is hereby granted, without written agreement and without 11 | licence or royalty fees, to use, copy, modify, and distribute this 12 | software and to distribute modified versions of this software for any 13 | purpose, provided that the above copyright notice and the following 14 | two paragraphs appear in all copies of this software. 15 | 16 | In no event shall the Zsh Development Group be liable to any party for 17 | direct, indirect, special, incidental, or consequential damages arising out 18 | of the use of this software and its documentation, even if the Zsh 19 | Development Group have been advised of the possibility of such damage. 20 | 21 | The Zsh Development Group specifically disclaim any warranties, including, 22 | but not limited to, the implied warranties of merchantability and fitness 23 | for a particular purpose. The software provided hereunder is on an "as is" 24 | basis, and the Zsh Development Group have no obligation to provide 25 | maintenance, support, updates, enhancements, or modifications. 26 | -------------------------------------------------------------------------------- /src/_age: -------------------------------------------------------------------------------- 1 | #compdef age age-keygen 2 | # ------------------------------------------------------------------------------ 3 | # Description 4 | # ----------- 5 | # 6 | # Completion script for age 1.2.1 (https://github.com/FiloSottile/age). 7 | # 8 | # ------------------------------------------------------------------------------ 9 | # Authors 10 | # ------- 11 | # 12 | # * Hydrargyrum (https://github.com/hydrargyrum) 13 | # 14 | # ------------------------------------------------------------------------------ 15 | 16 | case $service in 17 | (age) 18 | _arguments \ 19 | -A '-*' \ 20 | '(- *)'{-h,--help}'[show help message and exit]' \ 21 | '(-e --encrypt -d --decrypt)'{-e,--encrypt}'[Encrypt the input to the output. Default if omitted]' \ 22 | '(-e --encrypt -d --decrypt -a --armor -p --passphrase -r --recipient -R --recipients-file)'{-d,--decrypt}'[Decrypt the input to the output]' \ 23 | '(-o --output)'{-o,--output=}'[Write the result to the given file]:OUTPUT:_files' \ 24 | '(-a --armor -d --decrypt)'{-a,--armor}'[Encrypt to a PEM encoded format]' \ 25 | '(-p --passphrase -d --decrypt)'{-p,--passphrase}'[Encrypt with a passphrase]' \ 26 | '(-d --decrypt)'\*{-r,--recipient=}'[Encrypt to the explicitly specified RECIPIENT]:RECIPIENT:' \ 27 | '(-d --decrypt)'\*{-R,--recipients-file=}'[Encrypt to the RECIPIENTS listed in the file at PATH]:RECIPIENTS_FILE:_files' \ 28 | \*{-i,--identity=}'[Use the given identify file]:IDENTITY:_files' \ 29 | :INPUT:_files 30 | ;; 31 | (age-keygen) 32 | _arguments \ 33 | '(-o --output)'{-o,--output}'[write the result to the given file]:file:_files' \ 34 | '-y[convert an identity file to a recipients file]' \ 35 | '*:input' 36 | ;; 37 | esac 38 | 39 | # Local Variables: 40 | # mode: Shell-Script 41 | # sh-indentation: 2 42 | # indent-tabs-mode: nil 43 | # sh-basic-offset: 2 44 | # End: 45 | # vim: ft=zsh sw=2 ts=2 et 46 | -------------------------------------------------------------------------------- /src/_jmeter-plugins: -------------------------------------------------------------------------------- 1 | #compdef jmeter-plugins 2 | # ------------------------------------------------------------------------------ 3 | # Description 4 | # ----------- 5 | # 6 | # Completion script for jmeter-plugins command line tool 0.4.2 7 | # (https://jmeter-plugins.org/). 8 | # 9 | # ------------------------------------------------------------------------------ 10 | # Authors 11 | # ------- 12 | # 13 | # * Julien Nicoulaud 14 | # 15 | # ------------------------------------------------------------------------------ 16 | 17 | 18 | _arguments \ 19 | '(- 1 *)--help[show help options]' \ 20 | '--generate-png[generate PNG file containing graph]:PNG file name:_files -g "*.png"' \ 21 | '--generate-csv[generate CSV file containing graph data]:CSV file name:_files -g "*.csv"' \ 22 | '--input-jtl[load data from specified JTL file]:JTL file:_files -g "*.jtl"' \ 23 | '--plugin-type[type of graph to use for results generation]:class:((AggregateReport ThreadsStateOverTime BytesThroughputOverTime HitsPerSecond LatenciesOverTime PerfMon ResponseCodesPerSecond ResponseTimesDistribution ResponseTimesOverTime ResponseTimesPercentiles ThroughputOverTime ThroughputVsThreads TimesVsThreads TransactionsPerSecond))' \ 24 | '--width[set graph width]:graph width (pixels)' \ 25 | '--height[set graph height]::graph height (pixels)' \ 26 | '--granulation[granulation time for samples]:time (ms)' \ 27 | '--relative-times[use relative X axis times, no will set absolute times]: :((yes no))' \ 28 | '--aggregate-rows[aggregate all rows into one]: :((yes no))' \ 29 | '--paint-gradient[paint gradient background]: :((yes no))' \ 30 | '--paint-zeroing[paint zeroing lines]: :((yes no))' \ 31 | '--prevent-outliers[prevent outliers on distribution graph]: :((yes no))' \ 32 | '--limit-rows[limit number of points in row]:number of points' \ 33 | '--force-y[force Y axis limit]:limit' \ 34 | '--hide-low-counts[hide points with sample count below limit]:limit' 35 | 36 | # Local Variables: 37 | # mode: Shell-Script 38 | # sh-indentation: 2 39 | # indent-tabs-mode: nil 40 | # sh-basic-offset: 2 41 | # End: 42 | # vim: ft=zsh sw=2 ts=2 et 43 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | ## How to Contribute to zsh-completions 4 | 5 | Contributions are welcome, just make sure you follow the guidelines: 6 | 7 | * Completions are not accepted when already available in zsh. 8 | * Completions are not accepted when already available in their original project. 9 | * Please do not just copy/paste someone else's completion, ask before. 10 | * Partially implemented completions are not accepted. 11 | * Please add a header containing authors, status and origin of the script and license header if you do not wish to use the Zsh license (example [here](src/_tox)). 12 | * Any reasonable open source license is acceptable but note that we recommend the use of the Zsh license and that you should use it if you hope for the function to migrate to zsh itself. 13 | * Please try to follow the [Zsh completion style guide](https://github.com/zsh-users/zsh/blob/master/Etc/completion-style-guide). 14 | * Please send one separate pull request per file. 15 | * Send a pull request or ask for committer access. 16 | 17 | ## Contributing Completion Functions to Zsh 18 | 19 | The zsh project itself welcomes completion function contributions via 20 | [github pull requests](https://github.com/zsh-users/zsh/), 21 | [gitlab merge requests](https://gitlab.com/zsh-org/zsh/) or via patch 22 | files sent to its mailing list, `zsh-workers@zsh.org`. 23 | 24 | Contributing to zsh has the advantage of reaching the most users. 25 | 26 | ## Including Completion Functions in Upstream Projects 27 | 28 | Many upstream projects include zsh completions. 29 | 30 | If well maintained, this has the advantage that users get a completion 31 | function that matches the installed version of their software. 32 | 33 | If you are the upstream maintainer this is a good choice. If the project 34 | already includes completions for bash, fish, tcsh, etc then they are 35 | likely open to including zsh's too. It can also be a good option for 36 | completions handling commands that are system or distribution specific. 37 | 38 | Ideally, arrange for the project's build system to install the 39 | completion function in `$prefix/share/zsh/site-functions`. 40 | -------------------------------------------------------------------------------- /src/_rev: -------------------------------------------------------------------------------- 1 | #compdef rev 2 | # ------------------------------------------------------------------------------ 3 | # Copyright (c) 2025 Github zsh-users - https://github.com/zsh-users 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining 6 | # a copy of this software and associated documentation files (the 7 | # "Software"), to deal in the Software without restriction, including 8 | # without limitation the rights to use, copy, modify, merge, publish, 9 | # distribute, sublicense, and/or sell copies of the Software, and to 10 | # permit persons to whom the Software is furnished to do so, subject to 11 | # the following conditions: 12 | # 13 | # The above copyright notice and this permission notice shall be included 14 | # in all copies or substantial portions of the Software. 15 | # 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 17 | # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | # OTHER DEALINGS IN THE SOFTWARE. 23 | # ------------------------------------------------------------------------------ 24 | # Description 25 | # ----------- 26 | # 27 | # Completion script for rev v2.41 (https://github.com/util-linux/util-linux) 28 | # 29 | # ------------------------------------------------------------------------------ 30 | # Authors 31 | # ------- 32 | # 33 | # * Shohei Yoshida (https://github.com/syohex) 34 | # 35 | # ------------------------------------------------------------------------------ 36 | 37 | _arguments \ 38 | '(- *)'{-h,--help}'[display this help]' \ 39 | '(- *)'{-V,--version}'[display version]' \ 40 | '(-0 --zero)'{-0,--zero}'[use the nul character as line separator]' 41 | 42 | # Local Variables: 43 | # mode: Shell-Script 44 | # sh-indentation: 2 45 | # indent-tabs-mode: nil 46 | # sh-basic-offset: 2 47 | # End: 48 | # vim: ft=zsh sw=2 ts=2 et 49 | -------------------------------------------------------------------------------- /src/_rdfind: -------------------------------------------------------------------------------- 1 | #compdef rdfind 2 | # ------------------------------------------------------------------------------ 3 | # Description 4 | # ----------- 5 | # 6 | # Completion script for rdfind (https://rdfind.pauldreik.se/). 7 | # 8 | # ------------------------------------------------------------------------------ 9 | # Authors 10 | # ------- 11 | # 12 | # * Hydrargyrum (https://github.com/hydrargyrum) 13 | # 14 | # ------------------------------------------------------------------------------ 15 | 16 | _arguments \ 17 | "-ignoreempty[ignore empty files]:flag:(true false)" \ 18 | "-minsize[ignore files with less than N bytes]: :_numbers -d 1" \ 19 | "-maxsize[ignore files with N bytes or more]: :_numbers" \ 20 | "-followsymlinks[follow symlinks]:flag:(true false)" \ 21 | "-removeidentinode[remove items found which have identical inode and device ID]:flag:(true false)" \ 22 | "-checksum[type of checksum to be used]:algo:(md5 sha1 sha256 sha512)" \ 23 | "-deterministic[if set (the default), sort files of equal rank in an unspecified but deterministic order]:flag:(true false)" \ 24 | "(-makehardlinks -deleteduplicates)-makesymlinks[replace duplicate files with symbolic links]:flag:(true false)" \ 25 | "(-makesymlinks -deleteduplicates)-makehardlinks[replace duplicate files with hard links]:flag:(true false)" \ 26 | "(-makehardlinks -makesymlinks)-deleteduplicates[delete (unlink) files]:flag:(true false)" \ 27 | "-makeresultsfile[make a results file in the current directory]:flag:(true false)" \ 28 | "-outputname[make the results file name to be \"name\" instead of the default results.txt]:name" \ 29 | "(-n -dryrun)"{-n,-dryrun}"[display what should have been done, don’t actually delete or link anything]:flag:(true false)" \ 30 | "-sleep[sleeps X milliseconds between reading each file, to reduce load]: :_numbers -u ms -d 0" \ 31 | "(-h -help --help)"{-h,-help,--help}"[display a brief help message]" \ 32 | "(-v -version --version)"{-v,-version,--version}"[display the version number]" \ 33 | "*:file or directory:_files" 34 | 35 | # Local Variables: 36 | # mode: Shell-Script 37 | # sh-indentation: 2 38 | # indent-tabs-mode: nil 39 | # sh-basic-offset: 2 40 | # End: 41 | # vim: ft=zsh sw=2 ts=2 et 42 | -------------------------------------------------------------------------------- /src/_swaplabel: -------------------------------------------------------------------------------- 1 | #compdef swaplabel 2 | # ------------------------------------------------------------------------------ 3 | # Copyright (c) 2025 Github zsh-users - https://github.com/zsh-users 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining 6 | # a copy of this software and associated documentation files (the 7 | # "Software"), to deal in the Software without restriction, including 8 | # without limitation the rights to use, copy, modify, merge, publish, 9 | # distribute, sublicense, and/or sell copies of the Software, and to 10 | # permit persons to whom the Software is furnished to do so, subject to 11 | # the following conditions: 12 | # 13 | # The above copyright notice and this permission notice shall be included 14 | # in all copies or substantial portions of the Software. 15 | # 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 17 | # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | # OTHER DEALINGS IN THE SOFTWARE. 23 | # ------------------------------------------------------------------------------ 24 | # Description 25 | # ----------- 26 | # 27 | # Completion script for swaplabel v2.41 (https://github.com/util-linux/util-linux) 28 | # 29 | # ------------------------------------------------------------------------------ 30 | # Authors 31 | # ------- 32 | # 33 | # * Shohei Yoshida (https://github.com/syohex) 34 | # 35 | # ------------------------------------------------------------------------------ 36 | 37 | _arguments \ 38 | '(- *)'{-h,--help}'[display help message]' \ 39 | '(- *)'{-V,--version}'[display version]' \ 40 | '(-L --label)'{-L,--label}'[specify a new label]:label' \ 41 | '(-U --uuid)'{-U,--uuid}'[specify a new uuid]:uuid' \ 42 | '*::file:_files' 43 | 44 | # Local Variables: 45 | # mode: Shell-Script 46 | # sh-indentation: 2 47 | # indent-tabs-mode: nil 48 | # sh-basic-offset: 2 49 | # End: 50 | # vim: ft=zsh sw=2 ts=2 et 51 | -------------------------------------------------------------------------------- /src/_swapoff: -------------------------------------------------------------------------------- 1 | #compdef swapoff 2 | # ------------------------------------------------------------------------------ 3 | # Copyright (c) 2025 Github zsh-users - https://github.com/zsh-users 4 | # 5 | # Permission is hereby granted, free of charge, to any person obtaining 6 | # a copy of this software and associated documentation files (the 7 | # "Software"), to deal in the Software without restriction, including 8 | # without limitation the rights to use, copy, modify, merge, publish, 9 | # distribute, sublicense, and/or sell copies of the Software, and to 10 | # permit persons to whom the Software is furnished to do so, subject to 11 | # the following conditions: 12 | # 13 | # The above copyright notice and this permission notice shall be included 14 | # in all copies or substantial portions of the Software. 15 | # 16 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 17 | # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 19 | # THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | # OTHER DEALINGS IN THE SOFTWARE. 23 | # ------------------------------------------------------------------------------ 24 | # Description 25 | # ----------- 26 | # 27 | # Completion script for swapoff v2.41 (https://github.com/util-linux/util-linux) 28 | # 29 | # ------------------------------------------------------------------------------ 30 | # Authors 31 | # ------- 32 | # 33 | # * Shohei Yoshida (https://github.com/syohex) 34 | # 35 | # ------------------------------------------------------------------------------ 36 | 37 | _arguments \ 38 | '(-a --all)'{-a,--all}'[enable all swaps from /etc/fstab]' \ 39 | '(- *)'{-h,--help}'[display help message]' \ 40 | '(- *)'{-V,--version}'[display version]' \ 41 | '-L[synonym for LABEL=