diff options
Diffstat (limited to 'shell-completion/zsh')
-rw-r--r-- | shell-completion/zsh/_coredumpctl | 3 | ||||
-rw-r--r-- | shell-completion/zsh/_machinectl | 4 | ||||
-rw-r--r-- | shell-completion/zsh/_sd_outputmodes | 2 | ||||
-rw-r--r-- | shell-completion/zsh/_systemctl.in | 3 | ||||
-rw-r--r-- | shell-completion/zsh/_systemd-run | 4 | ||||
-rw-r--r-- | shell-completion/zsh/meson.build | 2 |
6 files changed, 10 insertions, 8 deletions
diff --git a/shell-completion/zsh/_coredumpctl b/shell-completion/zsh/_coredumpctl index f727820660..cf24f5b361 100644 --- a/shell-completion/zsh/_coredumpctl +++ b/shell-completion/zsh/_coredumpctl @@ -7,7 +7,7 @@ _coredumpctl_command(){ 'list:List available coredumps' 'info:Show detailed information about one or more coredumps' 'dump:Print coredump to stdout' - 'gdb:Start gdb on a coredump' + 'debug:Start debugger (gdb) on a coredump' ) if (( CURRENT == 1 )); then _describe -t commands 'coredumpctl command' _coredumpctl_cmds @@ -39,4 +39,5 @@ _arguments \ '--no-legend[Do not print the column headers]' \ {-h,--help}'[Show this help]' \ '--version[Show package version]' \ + '--debugger=[Use the given debugger]' \ '*::coredumpctl commands:_coredumpctl_command' diff --git a/shell-completion/zsh/_machinectl b/shell-completion/zsh/_machinectl index 933f4d2e6a..a00fc91021 100644 --- a/shell-completion/zsh/_machinectl +++ b/shell-completion/zsh/_machinectl @@ -60,6 +60,8 @@ _available_machines() { case $cmd in list*|cancel-transfer|pull-tar|pull-raw) msg="no options" ;; + clone) + _available_machines ;; start) _available_machines ;; *) @@ -87,7 +89,7 @@ _arguments \ {-H+,--host=}'[Operate on remote host.]:userathost:_sd_hosts_or_user_at_host' \ {-M+,--machine=}'[Operate on local container.]:machine:_sd_machines' \ {-p+,--property=}'[Limit output to specified property.]:property:(Name Id Timestamp TimestampMonotonic Service Scope Leader Class State RootDirectory)' \ - {-a,--all}'[Show all proerties.]' \ + {-a,--all}'[Show all properties.]' \ {-q,--quiet}'[Suppress output.]' \ {-l,--full}'[Do not ellipsize cgroup members.]' \ '--kill-who=[Who to send signal to.]:killwho:(leader all)' \ diff --git a/shell-completion/zsh/_sd_outputmodes b/shell-completion/zsh/_sd_outputmodes index 70ff7233af..763b106f3d 100644 --- a/shell-completion/zsh/_sd_outputmodes +++ b/shell-completion/zsh/_sd_outputmodes @@ -2,5 +2,5 @@ # SPDX-License-Identifier: LGPL-2.1+ local -a _output_opts -_output_opts=(short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json json-pretty json-sse cat with-unit) +_output_opts=(short short-full short-iso short-iso-precise short-precise short-monotonic short-unix verbose export json json-pretty json-sse json-seq cat with-unit) _describe -t output 'output mode' _output_opts || compadd "$@" diff --git a/shell-completion/zsh/_systemctl.in b/shell-completion/zsh/_systemctl.in index 9f576ed77d..782d243131 100644 --- a/shell-completion/zsh/_systemctl.in +++ b/shell-completion/zsh/_systemctl.in @@ -63,6 +63,7 @@ "exit:Ask for user instance termination" "switch-root:Change root directory" "revert:Revert unit files to their vendor versions" + "set-property:Sets one or more properties of a unit" ) if (( CURRENT == 1 )); then @@ -176,7 +177,7 @@ for fun in cat mask ; do done # Completion functions for NONTEMPLATE_UNITS -for fun in is-active is-failed is-enabled status show preset help list-dependencies edit revert add-wants add-requires ; do +for fun in is-active is-failed is-enabled status show preset help list-dependencies edit revert add-wants add-requires set-property; do (( $+functions[_systemctl_$fun] )) || _systemctl_$fun() { _wanted systemd-units expl unit \ diff --git a/shell-completion/zsh/_systemd-run b/shell-completion/zsh/_systemd-run index 0ad4b27a6f..a8a8e6fe34 100644 --- a/shell-completion/zsh/_systemd-run +++ b/shell-completion/zsh/_systemd-run @@ -32,8 +32,8 @@ _arguments \ SendSIGKILL= MemoryLimit= CPUShares= BlockIOWeight= User= Group= \ DevicePolicy= KillMode= DeviceAllow= BlockIOReadBandwidth= \ BlockIOWriteBandwidth= BlockIODeviceWeight= Nice= Environment= \ - KillSignal= LimitCPU= LimitFSIZE= LimitDATA= LimitSTACK= \ - LimitCORE= LimitRSS= LimitNOFILE= LimitAS= LimitNPROC= \ + KillSignal= FinalKillSignal= LimitCPU= LimitFSIZE= LimitDATA= \ + LimitSTACK= LimitCORE= LimitRSS= LimitNOFILE= LimitAS= LimitNPROC= \ LimitMEMLOCK= LimitLOCKS= LimitSIGPENDING= LimitMSGQUEUE= \ LimitNICE= LimitRTPRIO= LimitRTTIME= PrivateTmp= PrivateDevices= \ PrivateNetwork= NoNewPrivileges= WorkingDirectory= RootDirectory= \ diff --git a/shell-completion/zsh/meson.build b/shell-completion/zsh/meson.build index 7fc9fcfc71..792b06122f 100644 --- a/shell-completion/zsh/meson.build +++ b/shell-completion/zsh/meson.build @@ -3,8 +3,6 @@ zshcompletiondir = get_option('zshcompletiondir') if zshcompletiondir == '' zshcompletiondir = join_paths(datadir, 'zsh/site-functions') - - message('zsh completions: @0@'.format(zshcompletiondir)) endif if zshcompletiondir != 'no' |