Merge pull request #1160 from zsh-users/update-2025-10
Update completions
This commit is contained in:
		
						commit
						41a21a4d57
					
				|  | @ -25,7 +25,7 @@ | ||||||
| # Description | # Description | ||||||
| # ----------- | # ----------- | ||||||
| # | # | ||||||
| #  Completion script for emacs 29. (https://www.gnu.org/software/emacs/) | #  Completion script for emacs 31. (https://www.gnu.org/software/emacs/) | ||||||
| # | # | ||||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||||
| # Authors | # Authors | ||||||
|  | @ -59,12 +59,14 @@ _arguments \ | ||||||
|   '--init-directory=[use DIR when looking for the Emacs init files]: :_files -/' \ |   '--init-directory=[use DIR when looking for the Emacs init files]: :_files -/' \ | ||||||
|   '(-Q --quick)'{-Q,--quick}'[equivalent to -q --no-site-file --no-site-lisp --no-splash --no-x-resources]' \ |   '(-Q --quick)'{-Q,--quick}'[equivalent to -q --no-site-file --no-site-lisp --no-splash --no-x-resources]' \ | ||||||
|   '--script[run FILE as an Emacs Lisp script]: :_files' \ |   '--script[run FILE as an Emacs Lisp script]: :_files' \ | ||||||
|  |   '-x[same as -Q --script]' \ | ||||||
|   '(-t --terminal)'{-t,--terminal}'[use DEVICE for terminal IO]: :_files' \ |   '(-t --terminal)'{-t,--terminal}'[use DEVICE for terminal IO]: :_files' \ | ||||||
|   '(-u --user)'{-u,--user}'[load ~USER/.emacs instead of your own]' \ |   '(-u --user)'{-u,--user}'[load ~USER/.emacs instead of your own]' \ | ||||||
|   \*{-L,--directory}'[prepend DIR to load-path(with :DIR, append DIR)]: :_files -/' \ |   \*{-L,--directory}'[prepend DIR to load-path(with :DIR, append DIR)]: :_files -/' \ | ||||||
|   {--eval,--execute}'[evaluate Emacs Lisp expression EXPR]:expr' \ |   {--eval,--execute}'[evaluate Emacs Lisp expression EXPR]:expr' \ | ||||||
|   \*{--file,--find-file,--visit}'[visit FILE]: :_files' \ |   \*{--file,--find-file,--visit}'[visit FILE]: :_files' \ | ||||||
|   \*{-f,--funcall}'[call Emacs Lisp function FUNC with no arguments]:func' \ |   \*{-f,--funcall}'[call Emacs Lisp function FUNC with no arguments]:func' \ | ||||||
|  |   '--insert[insert contents of FILE into current buffer]:file:_files' \ | ||||||
|   '--kill[exit without asking for confirmation]' \ |   '--kill[exit without asking for confirmation]' \ | ||||||
|   \*{-l,--load}'[load Emacs Lisp FILE using the load function]: :_files' \ |   \*{-l,--load}'[load Emacs Lisp FILE using the load function]: :_files' \ | ||||||
|   '(-bg --background-color)'{-bg,--background-color}'[window background color]:color' \ |   '(-bg --background-color)'{-bg,--background-color}'[window background color]:color' \ | ||||||
|  | @ -95,7 +97,6 @@ _arguments \ | ||||||
|   '(- *)--version[output version information and exit]' \ |   '(- *)--version[output version information and exit]' \ | ||||||
|   '*: :_files' |   '*: :_files' | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| # Local Variables: | # Local Variables: | ||||||
| # mode: Shell-Script | # mode: Shell-Script | ||||||
| # sh-indentation: 2 | # sh-indentation: 2 | ||||||
|  |  | ||||||
|  | @ -37,15 +37,22 @@ | ||||||
| #  * Timofey Titovets <nefelim4ag@gmail.com> | #  * Timofey Titovets <nefelim4ag@gmail.com> | ||||||
| # | # | ||||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||||
| _exportfs() { | 
 | ||||||
|   _values -w 'option' \ | _arguments \ | ||||||
|     '(-i)-a[Export or unexport all directories]' \ |   '(-d --debug)'{-d,--debug}'[Turn on debugging]:kind:(all auth call general parse)' \ | ||||||
|     '(-a -r -u)-i[Ignore the /etc/exports file and files under /etc/exports.d directory]' \ |   '(-i)-a[Export or unexport all directories]' \ | ||||||
|     '(-i)-r[Reexport  all  directories]' \ |   '(-a -r -u)-i[Ignore the /etc/exports file and files under /etc/exports.d directory]' \ | ||||||
|     '(-i)-u[Unexport one or more directories]' \ |   '-o[Specify a list of export options in the same manner as in exports]:option' \ | ||||||
|     '-f[Flush everything out of export table]' \ |   '(-i)-r[Reexport all directories]' \ | ||||||
|     '-o[option1,option2.. Specify a list of export options]' \ |   '(-i)-u[Unexport one or more directories]' \ | ||||||
|     '-s[Display the current export list suitable for /etc/exports]' \ |   "-f[Flush everything out of kernel's export table]" \ | ||||||
|     '-v[Be verbose]' |   '-v[Be verbose]' \ | ||||||
| } |   '-s[Display the current export list suitable for /etc/exports]' | ||||||
| _exportfs "$@" | 
 | ||||||
|  | # 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 | ||||||
|  |  | ||||||
							
								
								
									
										12
									
								
								src/_glances
								
								
								
								
							
							
						
						
									
										12
									
								
								src/_glances
								
								
								
								
							|  | @ -28,7 +28,7 @@ | ||||||
| # Description | # Description | ||||||
| # ----------- | # ----------- | ||||||
| # | # | ||||||
| #  Completion script for glances (https://nicolargo.github.io/glances/). | #  Completion script for glances 4.3.3 (https://nicolargo.github.io/glances/). | ||||||
| # | # | ||||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||||
| # Authors | # Authors | ||||||
|  | @ -42,8 +42,10 @@ | ||||||
| _glances() { | _glances() { | ||||||
|   _arguments \ |   _arguments \ | ||||||
|     '(- *)'{-h,--help}'[show this help message and exit]' \ |     '(- *)'{-h,--help}'[show this help message and exit]' \ | ||||||
|  |     '--print-completion[print shell completion script]:shell:(bash zsh tcsh)' \ | ||||||
|     '(- *)'{-V,--version}"[show program's version number and exit]" \ |     '(- *)'{-V,--version}"[show program's version number and exit]" \ | ||||||
|     '(-C,--config)'{-C,--config}'[path to the configuration file]: :_files' \ |     '(-d --debug)'{-d,--debug}'[enable debug mode]' \ | ||||||
|  |     '(-C --config)'{-C,--config}'[path to the configuration file]: :_files' \ | ||||||
|     '(--modules-list --module-list)'{--modules-list,--module-list}'[display modules list and exit]' \ |     '(--modules-list --module-list)'{--modules-list,--module-list}'[display modules list and exit]' \ | ||||||
|     '(--disable-plugin --disable-plugins)'{--disable-plugin,--disable-plugins}'[disable plugin(comma separated list or all)]:plugin' \ |     '(--disable-plugin --disable-plugins)'{--disable-plugin,--disable-plugins}'[disable plugin(comma separated list or all)]:plugin' \ | ||||||
|     '(--enable-plugin --enable-plugins)'{--enable-plugin,--enable-plugins}'[enable plugin(comma separated list)]:plugin' \ |     '(--enable-plugin --enable-plugins)'{--enable-plugin,--enable-plugins}'[enable plugin(comma separated list)]:plugin' \ | ||||||
|  | @ -62,7 +64,8 @@ _glances() { | ||||||
|     '--disable-bg[disable background colors in the terminal]' \ |     '--disable-bg[disable background colors in the terminal]' \ | ||||||
|     '--enable-irq[enable IRQ mode]' \ |     '--enable-irq[enable IRQ mode]' \ | ||||||
|     '--enable-process-extended[enable extended stats on top process]' \ |     '--enable-process-extended[enable extended stats on top process]' \ | ||||||
|     '(--separator --enable-separator)'{--separator,--enable-separator}'[enable separator in the UI]' \ |     '--disable-separator[disable separator in the UI]' \ | ||||||
|  |     '--disable-cursor[disable cursor in the UI]' \ | ||||||
|     '--sort-process[sort processes]: :(cpu_percent memory_percent username cpu_times io_counters name)' \ |     '--sort-process[sort processes]: :(cpu_percent memory_percent username cpu_times io_counters name)' \ | ||||||
|     '(--programs --program)'{--programs,--program}'[Accumulate processes by program]' \ |     '(--programs --program)'{--programs,--program}'[Accumulate processes by program]' \ | ||||||
|     '--export[enable export module]:module' \ |     '--export[enable export module]:module' \ | ||||||
|  | @ -70,11 +73,12 @@ _glances() { | ||||||
|     '--export-csv-overwrite[overwrite existing CSV file]' \ |     '--export-csv-overwrite[overwrite existing CSV file]' \ | ||||||
|     '--export-json-file[file path for JSON exporter]: :_files' \ |     '--export-json-file[file path for JSON exporter]: :_files' \ | ||||||
|     '--export-graph-path[Folder for Graph exporter]: :_files -/' \ |     '--export-graph-path[Folder for Graph exporter]: :_files -/' \ | ||||||
|  |     '--export-process-filter[set the export process filter]:filters' \ | ||||||
|     '(-c --client)'{-c,--client}'[connect to a Glances server]:host:_hosts' \ |     '(-c --client)'{-c,--client}'[connect to a Glances server]:host:_hosts' \ | ||||||
|     '(-s --server)'{-s,--server}'[run Glances in server mode]' \ |     '(-s --server)'{-s,--server}'[run Glances in server mode]' \ | ||||||
|     '--browser[start the client browser]' \ |     '--browser[start the client browser]' \ | ||||||
|     '--disable-autodiscover[disable autodiscover feature]' \ |     '--disable-autodiscover[disable autodiscover feature]' \ | ||||||
|     '(-p --port)'{-p,--port}'[define the client/server TCP port]' \ |     '(-p --port)'{-p,--port}'[define the client/server TCP port]:port' \ | ||||||
|     '(-B --bind)'{-B,--bind}'[bind server to the given IPv4/IPv6 address or hostname]:host:_hosts' \ |     '(-B --bind)'{-B,--bind}'[bind server to the given IPv4/IPv6 address or hostname]:host:_hosts' \ | ||||||
|     '--username[define a client/server username]' \ |     '--username[define a client/server username]' \ | ||||||
|     '--password[define a client/server password]' \ |     '--password[define a client/server password]' \ | ||||||
|  |  | ||||||
|  | @ -51,7 +51,7 @@ _arguments -s -C \ | ||||||
|   '(-n --noparity)'{-n,--noparity}'[Set the parity of the serial line to none]' \ |   '(-n --noparity)'{-n,--noparity}'[Set the parity of the serial line to none]' \ | ||||||
|   '(-o --oddparity)'{-o,--oddparity}'[Set the parity of the serial line to odd]' \ |   '(-o --oddparity)'{-o,--oddparity}'[Set the parity of the serial line to odd]' \ | ||||||
|   '(-s --speed)'{-s,--speed}'[Set the speed(the baud rate) of the serial line]:value' \ |   '(-s --speed)'{-s,--speed}'[Set the speed(the baud rate) of the serial line]:value' \ | ||||||
|   '(-C --intro-command)'{-C,--intro-command}'[An intro command before the invocation of ldattach]:command' \ |   '(-c --intro-command)'{-c,--intro-command}'[An intro command before the invocation of ldattach]:command' \ | ||||||
|   '(-p --pause)'{-p,--pause}'[Sleep for given seconds before the invocation of ldattach]:value' \ |   '(-p --pause)'{-p,--pause}'[Sleep for given seconds before the invocation of ldattach]:value' \ | ||||||
|   '(- *)'{-h,--help}'[Display help text and exit]'\ |   '(- *)'{-h,--help}'[Display help text and exit]'\ | ||||||
|   '(- *)'{-V,--version}'[Print version and exit]' \ |   '(- *)'{-V,--version}'[Print version and exit]' \ | ||||||
|  |  | ||||||
|  | @ -73,6 +73,7 @@ _protoc() { | ||||||
|     '--js_out=[Generate JavaScript source]:out_dir:_files -/' \ |     '--js_out=[Generate JavaScript source]:out_dir:_files -/' \ | ||||||
|     '--objc_out=[Generate Objective C header and source]:out_dir:_files -/' \ |     '--objc_out=[Generate Objective C header and source]:out_dir:_files -/' \ | ||||||
|     '--php_out=[Generate PHP source file]:out_dir:_files -/' \ |     '--php_out=[Generate PHP source file]:out_dir:_files -/' \ | ||||||
|  |     '--pyi_out=[Generate python pyi stub]:out_dir:_files -/' \ | ||||||
|     '--python_out=[Generate Python source file]:out_dir:_files -/' \ |     '--python_out=[Generate Python source file]:out_dir:_files -/' \ | ||||||
|     '--ruby_out=[Generate Ruby source file]:out_dir:_files -/' \ |     '--ruby_out=[Generate Ruby source file]:out_dir:_files -/' \ | ||||||
|     '--rust_out=[Generate Rust sources]:out_dir:_files -/' \ |     '--rust_out=[Generate Rust sources]:out_dir:_files -/' \ | ||||||
|  |  | ||||||
|  | @ -24,7 +24,7 @@ | ||||||
| # Description | # Description | ||||||
| # ----------- | # ----------- | ||||||
| # | # | ||||||
| #  Completion script for ts-node v10.9.1. (https://github.com/TypeStrong/ts-node) | #  Completion script for ts-node v10.9.2. (https://github.com/TypeStrong/ts-node) | ||||||
| # | # | ||||||
| # ------------------------------------------------------------------------------ | # ------------------------------------------------------------------------------ | ||||||
| # Authors | # Authors | ||||||
|  | @ -41,6 +41,7 @@ _arguments \ | ||||||
|   '(-e --eval)'{-e,--eval}'[Evaluate code]:code' \ |   '(-e --eval)'{-e,--eval}'[Evaluate code]:code' \ | ||||||
|   '(-p --print)'{-p,--print}'[Print result of "--eval"]' \ |   '(-p --print)'{-p,--print}'[Print result of "--eval"]' \ | ||||||
|   '*'{-r,--require}'[Require a node module before execution]:path:_files' \ |   '*'{-r,--require}'[Require a node module before execution]:path:_files' \ | ||||||
|  |   '(-i --interactive)'{-i,--interactive}'[Open the REPL even if stdin does not appear to be a terminal]' \ | ||||||
|   '--esm[Bootstrap with the ESM loader, enabling full ESM support]' \ |   '--esm[Bootstrap with the ESM loader, enabling full ESM support]' \ | ||||||
|   '--swc[Use the faster swc transpiler]' \ |   '--swc[Use the faster swc transpiler]' \ | ||||||
|   '(- *)--showConfig[Print resolved configuration and exit]' \ |   '(- *)--showConfig[Print resolved configuration and exit]' \ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue