1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

bash-completion: do not ellipsize machine name

This commit is contained in:
Yu Watanabe 2020-01-10 12:29:02 +09:00
parent a65e34ccb0
commit e2268fa437
12 changed files with 12 additions and 12 deletions

View File

@ -25,7 +25,7 @@ __contains_word () {
__get_machines() {
local a b
machinectl list --no-legend --no-pager 2>/dev/null |
machinectl list --full --no-legend --no-pager 2>/dev/null |
{ while read a b; do echo " $a"; done; };
}

View File

@ -27,7 +27,7 @@ __contains_word () {
__get_machines() {
local a b
(machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; echo ".host") | \
(machinectl list-images --full --no-legend --no-pager; machinectl list --full --no-legend --no-pager; echo ".host") | \
{ while read a b; do echo " $a"; done; } | sort -u;
}

View File

@ -31,7 +31,7 @@ __get_all_seats () { loginctl --no-legend list-seats | { while read -r a b
__get_machines() {
local a b
machinectl list --no-legend --no-pager 2>/dev/null |
machinectl list --full --no-legend --no-pager 2>/dev/null |
{ while read a b; do echo " $a"; done; };
}

View File

@ -25,7 +25,7 @@ __contains_word() {
__get_machines() {
local a b
(machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; echo ".host") | \
(machinectl list-images --full --no-legend --no-pager; machinectl list --full --no-legend --no-pager; echo ".host") | \
{ while read a b; do echo " $a"; done; } | sort -u;
}

View File

@ -25,7 +25,7 @@ __contains_word () {
__get_machines() {
local a b
machinectl list --no-legend --no-pager 2>/dev/null |
machinectl list --full --no-legend --no-pager 2>/dev/null |
{ while read a b; do echo " $a"; done; };
}

View File

@ -113,7 +113,7 @@ __get_all_unit_files () { { __systemctl $1 list-unit-files "$2*"; } | { while re
__get_machines() {
local a b
{ machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; } | \
{ machinectl list-images --full --no-legend --no-pager; machinectl list --full --no-legend --no-pager; } | \
{ while read a b; do echo " $a"; done; }
}

View File

@ -27,7 +27,7 @@ __contains_word () {
__get_machines() {
local a b
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
}
__get_services() {

View File

@ -25,7 +25,7 @@ __contains_word() {
__get_machines() {
local a b
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
}
__get_units_have_cgroup() {

View File

@ -25,7 +25,7 @@ __contains_word() {
__get_machines() {
local a b
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
}
_systemd_cgtop() {

View File

@ -35,7 +35,7 @@ __get_slices() {
__get_machines() {
local a b
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
}
__get_env() {

View File

@ -26,7 +26,7 @@ __get_slice_units () { __systemctl $1 list-units --all -t slice \
__get_machines() {
local a b
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
}
_systemd_run() {

View File

@ -27,7 +27,7 @@ __contains_word () {
__get_machines() {
local a b
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
}
__get_interfaces(){