X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=shell-completion%2Fbash%2Fsystemctl.in;h=015001815f57a57b672b17020ed90c04edda9cdd;hp=64b15df462df091c4038ca2a50ec664fbf3d8b2c;hb=ec15977a3cd82eff6c94bb13db72195f7cd512e8;hpb=f2e104d3e0c43e4efd7c1952065bd4b79eefa427 diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in index 64b15df46..015001815 100644 --- a/shell-completion/bash/systemctl.in +++ b/shell-completion/bash/systemctl.in @@ -182,7 +182,7 @@ _systemctl () { comps=$( __filter_units_by_property $mode CanStart yes \ $( __get_all_units $mode \ | while read -r line; do \ - [[ "$line" =~ \.(device|snapshot|socket|timer)$ ]] || echo " $line"; \ + [[ "$line" =~ @\.|\.(device|snapshot|socket|timer)$ ]] || echo " $line"; \ done )) compopt -o filenames