fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Fabian Homborgcompletions/timedatectl: Add missing quotesbb3b6e332

master
2.2 KiB27 linesraw
1set -l commands status show set-time set-timezone list-timezones set-local-rtc set-ntp timesync-status show-timesync
2
3complete -c timedatectl -f
4complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" -a status -d 'Show current time settings'
5complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" -a show -d 'Show properties of systemd-timedated'
6complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" -a set-time -d 'Set system time'
7complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" -a set-timezone -d 'Set system time zone'
8complete -c timedatectl -n "__fish_seen_subcommand_from set-timezone" -a "(timedatectl list-timezones)"
9complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" -a list-timezones -d 'Show known time zones'
10complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" -a set-local-rtc -d 'Control whether RTC is in local time'
11complete -c timedatectl -n "__fish_seen_subcommand_from set-local-rtc" -a 'true false'
12complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" -a set-ntp -d 'Control network time sync'
13complete -c timedatectl -n "__fish_seen_subcommand_from set-ntp" -a 'true false'
14complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" -a timesync-status -d 'Show status of systemd-timesyncd'
15complete -c timedatectl -n "not __fish_seen_subcommand_from $commands" -a show-timesync -d 'Show properties of systemd-timesyncd'
16
17complete -c timedatectl -s h -l help -d 'Show this help message'
18complete -c timedatectl -l version -d 'Show package version'
19complete -c timedatectl -l no-pager -d 'Do not pipe output into a pager'
20complete -c timedatectl -l no-ask-password -d 'Do not prompt for password'
21complete -c timedatectl -s H -l host -r -d 'Operate on remote HOST'
22complete -c timedatectl -s M -l machine -r -d 'Operate on local CONTAINER'
23complete -c timedatectl -l adjust-system-clock -d 'Adjust system clock when changing local RTC mode'
24complete -c timedatectl -l monitor -d 'Monitor status of systemd-timesyncd'
25complete -c timedatectl -s p -l property -r -d 'Show only properties by this NAME'
26complete -c timedatectl -s a -l all -d 'Show all properties'
27complete -c timedatectl -l value -d 'Only show properties with values'