mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Complete machines in systemd tools
This commit is contained in:
parent
66f11e9bd3
commit
eada714a0a
|
@ -179,7 +179,7 @@ complete -f -c busctl -n "__fish_seen_subcommand_from list status" -l augment-cr
|
|||
complete -f -c busctl -l user
|
||||
complete -f -c busctl -l system
|
||||
complete -f -c busctl -s H -l host= -a "(__fish_print_hostnames)"
|
||||
complete -f -c busctl -s M -l machine= -a "(machinectl list --no-legend --no-pager)"
|
||||
complete -f -c busctl -s M -l machine= -a "(__fish_systemd_machines)"
|
||||
complete -f -c busctl -l no-pager
|
||||
complete -f -c busctl -l no-legend
|
||||
complete -f -c busctl -s h -l help
|
||||
|
|
|
@ -86,8 +86,8 @@ complete -f -c systemctl -l runtime -d 'Make changes only temporarily'
|
|||
complete -f -r -c systemctl -s n -l lines -d 'Number of journal lines to show' -a "(seq 1 1000)"
|
||||
complete -f -c systemctl -s o -l output -d 'Control journal formatting' -xa 'short short-monotonic verbose export json json-pretty json-sse cat'
|
||||
complete -f -c systemctl -l plain -d 'list-dependencies flat, not as tree'
|
||||
complete -f -c systemctl -s H -l host= -d 'Execute the operation remotely' -a "(__fish_print_hostnames)"
|
||||
complete -x -c systemctl -s M -l machine= -d 'Execute operation locally' -a "(machinectl --no-legend list)"
|
||||
complete -f -c systemctl -s H -l host= -d 'Execute the operation on a remote host' -a "(__fish_print_hostnames)"
|
||||
complete -x -c systemctl -s M -l machine= -d 'Execute operation on a VM or container' -a "(__fish_systemd_machines)"
|
||||
complete -f -c systemctl -s h -l help -d 'Print a short help and exit'
|
||||
complete -f -c systemctl -l version -d 'Print a short version and exit'
|
||||
complete -f -c systemctl -l no-pager -d 'Do not pipe output into a pager'
|
||||
|
|
Loading…
Reference in New Issue
Block a user