]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bash-completion: do not ellipsize machine name
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Jan 2020 03:29:02 +0000 (12:29 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 10 Jan 2020 03:29:02 +0000 (12:29 +0900)
12 files changed:
shell-completion/bash/busctl
shell-completion/bash/journalctl
shell-completion/bash/loginctl
shell-completion/bash/machinectl
shell-completion/bash/portablectl
shell-completion/bash/systemctl.in
shell-completion/bash/systemd-analyze
shell-completion/bash/systemd-cgls
shell-completion/bash/systemd-cgtop
shell-completion/bash/systemd-nspawn
shell-completion/bash/systemd-run
shell-completion/bash/timedatectl

index c22b122f1dc68481802c3abbe454a93de84f1cb3..1ed924e63a733c7073bd70de734399c8abc5418e 100644 (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; };
 }
 
index 35ff311bbd54b7d9ac506bd0fc6eacf9d956897e..757c3d77f436fefdbe0404bcfdc064d3d6cdfe90 100644 (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;
 }
 
index c3e1ca754b62fe1fb914247e029e409f744ef64d..35a71de32e812c2e97fd2e7daefabfe059740ac9 100644 (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; };
 }
 
index b785cd415441d202a4f52a6fed9cca0704b815cc..a89ce812b21bd3e39157f91b4f3af2d5e2c120ce 100644 (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;
 }
 
index d20c9629b752d81b058d1dc46c4294807a052046..b60d8c5c4bfa6678a108f6c74fd68fac2ad2ab34 100644 (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; };
 }
 
index 7d2f0f88a2d161f0408b152ac9c3dbc9ddcfcad5..f81dafba8ee4a6bd3e61789599308f7d104e078b 100644 (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; }
 }
 
index 986dad5d5892d377ebdd02e5fc775b21cfda7352..1b4f1b0d10403d6f9c6c11a7ce769c534de21834 100644 (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() {
index 9a5969bee702ad692cd43f95db1de9f0669d06d3..10f6b38fcc5aec569b71646d496d61ffbc1072a2 100644 (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() {
index 8689897130b3694ed0c975302d7743dde55a638d..a5e3401959fba21030f2377e3e1d5bdcca35f236 100644 (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() {
index 941ea9090b02debe065ffb5153db3cfd4eb1ef23..d263fd5dd93b0b936fd7d9473a49ffea336a4cd6 100644 (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() {
index 707b038d9a8459431fd5388a8d2f29421e0895f3..71692aa19c9ac12d46b3fe5ca15f2160a62ad820 100644 (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() {
index 385dee7dd47566316887a47a993c5d68ec6cfdf8..4605fafc46d00c206a51462dd598cb9a46da695f 100644 (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(){