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: _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
Save