mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
Add zsh completion on systemd-run's properties
This commit is contained in:
parent
5e4cecfb67
commit
5ffd7671cc
@ -26,7 +26,20 @@ _arguments \
|
|||||||
{-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \
|
{-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \
|
||||||
'--scope[Run this as scope rather than service]' \
|
'--scope[Run this as scope rather than service]' \
|
||||||
'--unit=[Run under the specified unit name]:unit name' \
|
'--unit=[Run under the specified unit name]:unit name' \
|
||||||
{-p+,--property=}'[Set unit property]:NAME=VALUE' \
|
{-p+,--property=}'[Set unit property]:NAME=VALUE:(( \
|
||||||
|
CPUAccounting= MemoryAccounting= BlockIOAccounting= SendSIGHUP= \
|
||||||
|
SendSIGKILL= MemoryLimit= CPUShares= BlockIOWeight= User= Group= \
|
||||||
|
DevicePolicy= KillMode= DeviceAllow= BlockIOReadBandwidth= \
|
||||||
|
BlockIOWriteBandwidth= BlockIODeviceWeight= Nice= Environment= \
|
||||||
|
KillSignal= LimitCPU= LimitFSIZE= LimitDATA= LimitSTACK= \
|
||||||
|
LimitCORE= LimitRSS= LimitNOFILE= LimitAS= LimitNPROC= \
|
||||||
|
LimitMEMLOCK= LimitLOCKS= LimitSIGPENDING= LimitMSGQUEUE= \
|
||||||
|
LimitNICE= LimitRTPRIO= LimitRTTIME= PrivateTmp= PrivateDevices= \
|
||||||
|
PrivateNetwork= NoNewPrivileges= WorkingDirectory= RootDirectory= \
|
||||||
|
TTYPath= SyslogIdentifier= SyslogLevelPrefix= SyslogLevel= \
|
||||||
|
SyslogFacility= TimerSlackNSec= OOMScoreAdjust= ReadWriteDirectories= \
|
||||||
|
ReadOnlyDirectories= InaccessibleDirectories= \
|
||||||
|
))' \
|
||||||
'--description=[Description for unit]:description' \
|
'--description=[Description for unit]:description' \
|
||||||
'--slice=[Run in the specified slice]:slices:__slices' \
|
'--slice=[Run in the specified slice]:slices:__slices' \
|
||||||
{-r,--remain-after-exit}'[Leave service around until explicitly stopped]' \
|
{-r,--remain-after-exit}'[Leave service around until explicitly stopped]' \
|
||||||
|
Loading…
Reference in New Issue
Block a user