SM0 She11
Path:
/
/
usr
/
share
/
zsh
/
site-functions
Full Path (server): /usr/share/zsh/site-functions
Create Fil3
Upl04d Fil3
📄 _bootctl
[E]
[D]
[R]
📄 _coredumpctl
[E]
[D]
[R]
📄 _hostnamectl
[E]
[D]
[R]
📄 _journalctl
[E]
[D]
[R]
📄 _kernel-install
[E]
[D]
[R]
📄 _localectl
[E]
[D]
[R]
📄 _loginctl
[E]
[D]
[R]
📄 _machinectl
[E]
[D]
[R]
📄 _sd_hosts_or_user_at_host
[E]
[D]
[R]
📄 _sd_machines
[E]
[D]
[R]
📄 _sd_outputmodes
[E]
[D]
[R]
📄 _sd_unit_files
[E]
[D]
[R]
📄 _systemctl
[E]
[D]
[R]
📄 _systemd
[E]
[D]
[R]
📄 _systemd-analyze
[E]
[D]
[R]
📄 _systemd-delta
[E]
[D]
[R]
📄 _systemd-inhibit
[E]
[D]
[R]
📄 _systemd-nspawn
[E]
[D]
[R]
📄 _systemd-run
[E]
[D]
[R]
📄 _systemd-tmpfiles
[E]
[D]
[R]
📄 _timedatectl
[E]
[D]
[R]
📄 _udevadm
[E]
[D]
[R]
Editing: _systemd-inhibit
#compdef systemd-inhibit _systemd_inhibit_command(){ if (( CURRENT == 1 )); then compset -q _normal else local n=${words[(b:2:i)[^-]*]} if (( n <= CURRENT )); then compset -n $n _alternative \ 'files:file:_files' \ 'commands:command:_normal' && return 0 fi _default fi } _inhibit_what() { local _inhibit _inhibit=(shutdown sleep idle handle-power-key handle-suspend-key handle-hibernate-key handle-lid-switch) _values -s : "${_inhibit[@]}" } _arguments \ {-h,--help}'[Show this help]' \ '--version[Show package version]' \ '--what=[Operations to inhibit]:options:_inhibit_what' \ '--who=[A descriptive string who is inhibiting]' \ '--why=[A descriptive string why is being inhibited]' \ '--mode=[One of block or delay]' \ '--list[List active inhibitors]' \ '*:commands:_systemd_inhibit_command'
Save