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: _kernel-install
#compdef kernel-install _images(){ if [[ "$words[2]" == "remove" ]]; then _message 'No more options' else _path_files -W /boot/ -P /boot/ -g "vmlinuz-*" fi } _kernels(){ read _MACHINE_ID < /etc/machine-id _kernel=( /lib/modules/[0-9]* ) if [[ "$cmd" == "remove" && -n "$_MACHINE_ID" ]]; then _kernel=( "/boot/$_MACHINE_ID"/[0-9]* ) fi _kernel=( ${_kernel##*/} ) _describe "installed kernels" _kernel } _arguments \ '1::add or remove:(add remove)' \ '2::kernel versions:_kernels' \ '3::kernel images:_images' #vim: set ft=zsh sw=4 ts=4 et
Upload File
Create Folder