X Tutup
Skip to content

Commit e2268fa

Browse files
committed
bash-completion: do not ellipsize machine name
1 parent a65e34c commit e2268fa

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

shell-completion/bash/busctl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ __contains_word () {
2525

2626
__get_machines() {
2727
local a b
28-
machinectl list --no-legend --no-pager 2>/dev/null |
28+
machinectl list --full --no-legend --no-pager 2>/dev/null |
2929
{ while read a b; do echo " $a"; done; };
3030
}
3131

shell-completion/bash/journalctl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ __contains_word () {
2727

2828
__get_machines() {
2929
local a b
30-
(machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; echo ".host") | \
30+
(machinectl list-images --full --no-legend --no-pager; machinectl list --full --no-legend --no-pager; echo ".host") | \
3131
{ while read a b; do echo " $a"; done; } | sort -u;
3232
}
3333

shell-completion/bash/loginctl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ __get_all_seats () { loginctl --no-legend list-seats | { while read -r a b
3131

3232
__get_machines() {
3333
local a b
34-
machinectl list --no-legend --no-pager 2>/dev/null |
34+
machinectl list --full --no-legend --no-pager 2>/dev/null |
3535
{ while read a b; do echo " $a"; done; };
3636
}
3737

shell-completion/bash/machinectl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ __contains_word() {
2525

2626
__get_machines() {
2727
local a b
28-
(machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; echo ".host") | \
28+
(machinectl list-images --full --no-legend --no-pager; machinectl list --full --no-legend --no-pager; echo ".host") | \
2929
{ while read a b; do echo " $a"; done; } | sort -u;
3030
}
3131

shell-completion/bash/portablectl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ __contains_word () {
2525

2626
__get_machines() {
2727
local a b
28-
machinectl list --no-legend --no-pager 2>/dev/null |
28+
machinectl list --full --no-legend --no-pager 2>/dev/null |
2929
{ while read a b; do echo " $a"; done; };
3030
}
3131

shell-completion/bash/systemctl.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ __get_all_unit_files () { { __systemctl $1 list-unit-files "$2*"; } | { while re
113113

114114
__get_machines() {
115115
local a b
116-
{ machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; } | \
116+
{ machinectl list-images --full --no-legend --no-pager; machinectl list --full --no-legend --no-pager; } | \
117117
{ while read a b; do echo " $a"; done; }
118118
}
119119

shell-completion/bash/systemd-analyze

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ __contains_word () {
2727

2828
__get_machines() {
2929
local a b
30-
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
30+
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
3131
}
3232

3333
__get_services() {

shell-completion/bash/systemd-cgls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ __contains_word() {
2525

2626
__get_machines() {
2727
local a b
28-
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
28+
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
2929
}
3030

3131
__get_units_have_cgroup() {

shell-completion/bash/systemd-cgtop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ __contains_word() {
2525

2626
__get_machines() {
2727
local a b
28-
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
28+
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
2929
}
3030

3131
_systemd_cgtop() {

shell-completion/bash/systemd-nspawn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ __get_slices() {
3535

3636
__get_machines() {
3737
local a b
38-
machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; };
38+
machinectl list --full --no-legend --no-pager | { while read a b; do echo " $a"; done; };
3939
}
4040

4141
__get_env() {

0 commit comments

Comments
 (0)
X Tutup