mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
d9b39b0d51
systemd-hostnamed control tools
18 lines
1.3 KiB
Fish
18 lines
1.3 KiB
Fish
set -l commands status set-hostname set-icon-name set-chassis set-deployment set-location
|
|
|
|
complete -c hostnamectl -f
|
|
complete -c hostnamectl -n "not __fish_seen_subcommand_from $commands" -a status -d 'Show current hostname settings'
|
|
complete -c hostnamectl -n "not __fish_seen_subcommand_from $commands" -a set-hostname -d 'Set system hostname'
|
|
complete -c hostnamectl -n "not __fish_seen_subcommand_from $commands" -a set-icon-name -d 'Set icon name for host'
|
|
complete -c hostnamectl -n "not __fish_seen_subcommand_from $commands" -a set-chassis -d 'Set chassis type for host'
|
|
complete -c hostnamectl -n "not __fish_seen_subcommand_from $commands" -a set-deployment -d 'Set deployment environment for host'
|
|
complete -c hostnamectl -n "not __fish_seen_subcommand_from $commands" -a set-location -d 'Set location for host'
|
|
|
|
complete -c hostnamectl -s h -l help -d 'Show this help'
|
|
complete -c hostnamectl -l version -d 'Show package version'
|
|
complete -c hostnamectl -l no-ask-password -d 'Do not prompt for password'
|
|
complete -c hostnamectl -s H -l host -r -d 'Operate on remote HOST'
|
|
complete -c hostnamectl -s M -l machine -r -d 'Operate on local CONTAINER'
|
|
complete -c hostnamectl -l transient -d 'Only set transient hostname'
|
|
complete -c hostnamectl -l static -d 'Only set static hostname'
|
|
complete -c hostnamectl -l pretty -d 'Only set pretty hostname'
|