X7ROOT File Manager
Current Path:
/usr/share/zsh/site-functions
usr
/
share
/
zsh
/
site-functions
/
📁
..
📄
_bootctl
(721 B)
📄
_coredumpctl
(1.47 KB)
📄
_hostnamectl
(2.17 KB)
📄
_journalctl
(4.56 KB)
📄
_kernel-install
(614 B)
📄
_localectl
(3.46 KB)
📄
_loginctl
(4.04 KB)
📄
_machinectl
(1.67 KB)
📄
_sd_hosts_or_user_at_host
(79 B)
📄
_sd_machines
(318 B)
📄
_sd_outputmodes
(202 B)
📄
_sd_unit_files
(235 B)
📄
_systemctl
(14.63 KB)
📄
_systemd
(3.69 KB)
📄
_systemd-analyze
(2.33 KB)
📄
_systemd-delta
(527 B)
📄
_systemd-inhibit
(958 B)
📄
_systemd-nspawn
(3.57 KB)
📄
_systemd-run
(1.97 KB)
📄
_systemd-tmpfiles
(699 B)
📄
_timedatectl
(1.96 KB)
📄
_udevadm
(5.81 KB)
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'
Upload File
Create Folder