fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
3744c02a0
master
1function __fish_systemd_units 2systemctl list-unit-files --full --no-legend --no-pager --plain2> /dev/null| string split -f1 ' ' 3systemctl list-units --state=loaded --full --no-legend --no-pager --plain2> /dev/null| string split -f1 ' ' 4end 5 6# global options 7 8complete -c systemd-analyze -f 9complete -c systemd-analyze -l system -d'Operates on the system systemd instance' -n"not __fish_contains_opt system user global" 10complete -c systemd-analyze -l user -d'Operates on the user systemd instance' -n"not __fish_contains_opt system user global" 11complete -c systemd-analyze -l global -d'Operates on the system-wide configuration for user systemd instance' -n"not __fish_contains_opt system user global" 12complete -c systemd-analyze -l order -d'dot: show only After and Before dependencies' -n"not __fish_contains_opt order require" 13complete -c systemd-analyze -l require -d'dot: show only Requires, Requisite, Wants and Conflicts dependencies' -n"not __fish_contains_opt order require" 14complete -c systemd-analyze -l from-pattern -d'dot: show relationships matching left-hand nodes pattern' 15complete -c systemd-analyze -l to-pattern -d'dot: show relationships matching right-hand nodes pattern' 16complete -c systemd-analyze -l fuzz -x -d'critical-chain: also show units which finished timespan earlier than last unit in same level' 17complete -c systemd-analyze -l man -xa no -d'Do not invoke man to verify the existence of man pages' 18complete -c systemd-analyze -l generators -d'Invoke unit generators' 19complete -c systemd-analyze -l instance -r -d'Fallback instance name for template units' 20complete -c systemd-analyze -l root -xa"(__fish_complete_directories)" -d'With cat-files, show config files underneath the specified root path' 21complete -c systemd-analyze -l image -r -d'With cat-files, show config files inside the specified image path' 22complete -c systemd-analyze -l image-policy -d'Disk image dissection policy' 23complete -c systemd-analyze -l iterations -x -d'calendar: show number of iterations the calendar expression will elapse next' 24complete -c systemd-analyze -l base-time -x -d'calendar: show next iterations relative to the specified point in time' 25complete -c systemd-analyze -l tldr -d'cat-config: skip comments, empty lines and section headers' 26complete -c systemd-analyze -l unit -r -d"condition: evaluate Condition and Assert assignments in unit file" 27complete -c systemd-analyze -l table -d'plot: output raw time data in a table' 28complete -c systemd-analyze -l no-legend -d'plot: exclude legends/hints' 29complete -c systemd-analyze -l detailed -d"plot: show activation timestamps details in SVG plot" 30complete -c systemd-analyze -l scale-svg -r -d"plot: stretch the x-axis of the plot" 31complete -c systemd-analyze -s H -l host -xa"(__fish_complete_user_at_hosts)" -d'Execute the operation on a remote host' 32complete -c systemd-analyze -s M -l machine -xa"(__fish_systemd_machines)" -d'Execute operation on a VM or container' 33complete -c systemd-analyze -s h -l help -d'Print a short help and exit' 34complete -c systemd-analyze -l version -d'Print a short version and exit' 35complete -c systemd-analyze -l no-pager -d'Do not pipe output into a pager' 36 37# subcommands 38 39complete -c systemd-analyze -n __fish_use_subcommand -a time -d"Print timing statistics" 40complete -c systemd-analyze -n __fish_use_subcommand -a blame -d"Print list of running units ordered by time to init" 41 42complete -c systemd-analyze -n __fish_use_subcommand -a critical-chain -d"Print a tree of the time critical chain of units" 43complete -c systemd-analyze -n"__fish_seen_subcommand_from critical-chain" -a"(__fish_systemd_units)" 44 45complete -c systemd-analyze -n __fish_use_subcommand -a dump -d"Output serialization of server state" 46complete -c systemd-analyze -n __fish_use_subcommand -a malloc -d"Output internal memory state of D-Bus service" 47complete -c systemd-analyze -n __fish_use_subcommand -a plot -d"Output SVG graphic showing service initialization" 48complete -c systemd-analyze -n __fish_use_subcommand -a dot -d"Output dependency graph in dot(1) format" 49complete -c systemd-analyze -n __fish_use_subcommand -a unit-paths -d"List all directories from which unit files may be loaded" 50complete -c systemd-analyze -n __fish_use_subcommand -a exit-status -d"List exit statuses along with their class" 51complete -c systemd-analyze -n __fish_use_subcommand -a capability -d"List Linux capabilities along with their numeric IDs" 52complete -c systemd-analyze -n __fish_use_subcommand -a condition -d"Evaluate Condition and Assert assignments" 53complete -c systemd-analyze -n __fish_use_subcommand -a syscall-filter -d"List system calls contained in the specified system call set" 54complete -c systemd-analyze -n __fish_use_subcommand -a filesystems -d"List filesystems" 55complete -c systemd-analyze -n __fish_use_subcommand -a calendar -d"Normalize repetitive calendar events and calculate when they elapse next" 56complete -c systemd-analyze -n __fish_use_subcommand -a timestamp -d"Parse timestamp and output the normalized form" 57complete -c systemd-analyze -n __fish_use_subcommand -a timespan -d"Parse time span and output the normalized form" 58 59complete -c systemd-analyze -n __fish_use_subcommand -a cat-config -d"Show contents of a config file" 60complete -c systemd-analyze -n"__fish_seen_subcommand_from cat-config" -F 61complete -c systemd-analyze -n __fish_use_subcommand -a compare-versions -d"Compare two version strings" 62 63complete -c systemd-analyze -n __fish_use_subcommand -a verify -d"Check unit files for correctness" 64complete -c systemd-analyze -n"__fish_seen_subcommand_from verify" -F 65 66complete -c systemd-analyze -n __fish_use_subcommand -a security -d"Analyze security settings of specified service units" 67complete -c systemd-analyze -n"__fish_seen_subcommand_from security" -a"(__fish_systemctl_services)" 68complete -c systemd-analyze -n __fish_use_subcommand -a inspect-elf -d"Parse and print ELF object packaging metadata" 69complete -c systemd-analyze -n __fish_use_subcommand -a fdstore -d"List contents of service unit's file descriptor store" 70complete -c systemd-analyze -n __fish_use_subcommand -a image-policy -d"Analyze image policy string" 71complete -c systemd-analyze -n __fish_use_subcommand -a has-tpm2 -d"Report TPM2 support" 72complete -c systemd-analyze -n __fish_use_subcommand -a pcrs -d"Show known TPM2 PCRs" 73complete -c systemd-analyze -n __fish_use_subcommand -a srk -d"Read Storage Root Key from TPM2 device" 74complete -c systemd-analyze -n __fish_use_subcommand -a architectures -d"List known CPU architectures" 75complete -c systemd-analyze -n __fish_use_subcommand -a smbios11 -d"Show SMBIOS Type #11 strings passed to the system"