diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-06 14:37:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-06 14:37:12 +0100 |
commit | 25fa306ed58b0b7fe30ca9be37c66a7b3b2de70e (patch) | |
tree | 42872c5d1078186451f11a5d3eaa540b0f13d586 /shell-completion | |
parent | 7fd682bbebabe140e0d07a468e8f87cde380b859 (diff) |
hostnamed: introduce new "embedded" chassis type
We really don't want to get lost in adding fridge, car, plane, drone, or
whatever else, hence add a generic term "embedded" cover all the cases
where the computer is just part of something bigger, and not at the
focus of things.
Diffstat (limited to 'shell-completion')
-rw-r--r-- | shell-completion/bash/hostnamectl | 2 | ||||
-rw-r--r-- | shell-completion/zsh/_hostnamectl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell-completion/bash/hostnamectl b/shell-completion/bash/hostnamectl index a5e34600c8..7a0850dbe4 100644 --- a/shell-completion/bash/hostnamectl +++ b/shell-completion/bash/hostnamectl @@ -52,7 +52,7 @@ _hostnamectl() { if [[ -z $verb ]]; then comps=${VERBS[*]} elif __contains_word "$verb" ${VERBS[CHASSIS]}; then - comps='desktop laptop server tablet handset watch vm container' + comps='desktop laptop server tablet handset watch embedded vm container' elif __contains_word "$verb" ${VERBS[STANDALONE]} ${VERBS[ICONS]} ${VERBS[NAME]}; then comps='' fi diff --git a/shell-completion/zsh/_hostnamectl b/shell-completion/zsh/_hostnamectl index e02f6de30e..a7217a1999 100644 --- a/shell-completion/zsh/_hostnamectl +++ b/shell-completion/zsh/_hostnamectl @@ -18,7 +18,7 @@ _hostnamectl_set-icon-name() { _hostnamectl_set-chassis() { if (( CURRENT <= 3 )); then - _chassis=( desktop laptop server tablet handset watch vm container ) + _chassis=( desktop laptop server tablet handset watch embedded vm container ) _describe chassis _chassis else _message "no more options" |