SILENT KILLERPanel

Current Path: > > usr > share > zsh > site-functions


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr/share/zsh/site-functions

NameTypeSizeLast ModifiedActions
_bootctl File 1101 bytes June 22 2018 11:11:49.
_busctl File 3057 bytes June 22 2018 11:11:49.
_coredumpctl File 1582 bytes June 22 2018 11:11:49.
_curl File 13328 bytes January 28 2025 01:43:09.
_firewalld File 19061 bytes March 11 2025 09:51:09.
_hostnamectl File 2270 bytes June 22 2018 11:11:49.
_journalctl File 5975 bytes June 22 2018 11:11:49.
_kernel-install File 651 bytes June 22 2018 11:11:49.
_libinput File 7664 bytes November 03 2020 04:42:35.
_localectl File 3585 bytes June 22 2018 11:11:49.
_loginctl File 5804 bytes June 22 2018 11:11:49.
_parallel File 120 bytes December 25 2024 00:17:11.
_sd_hosts_or_user_at_host File 116 bytes June 22 2018 11:11:49.
_sd_machines File 355 bytes June 22 2018 11:11:49.
_sd_outputmodes File 289 bytes June 22 2018 11:11:49.
_sd_unit_files File 255 bytes June 22 2018 11:11:49.
_systemctl File 15606 bytes April 22 2025 01:58:20.
_systemd File 3839 bytes June 22 2018 11:11:49.
_systemd-analyze File 3065 bytes June 22 2018 11:11:49.
_systemd-delta File 564 bytes June 22 2018 11:11:49.
_systemd-inhibit File 1061 bytes June 22 2018 11:11:49.
_systemd-resolve File 2330 bytes June 22 2018 11:11:49.
_systemd-run File 3136 bytes June 22 2018 11:11:49.
_systemd-tmpfiles File 736 bytes June 22 2018 11:11:49.
_timedatectl File 2042 bytes June 22 2018 11:11:49.
_udevadm File 5997 bytes June 22 2018 11:11:49.

Reading File: //usr/share/zsh/site-functions/_kernel-install

#compdef kernel-install
# SPDX-License-Identifier: LGPL-2.1+

_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

SILENT KILLER Tool