chiark / gitweb /
systemctl: allow multiple arguments to --type
[elogind.git] / shell-completion / systemd-zsh-completion.zsh
index a54e9d7..8b60859 100644 (file)
@@ -536,7 +536,7 @@ for fun in restart reload-or-restart ; do
     _systemctl_all_units
     compadd "$@" - $( _filter_units_by_property CanStart yes \
       ${_sys_all_units[*]} | while read line; do \
-      [[ "$line" =~ \.(device|snapshot|socket|timer)$ ]] || echo " $line"; \
+      [[ "$line" =~ \.device$ ]] || echo " $line"; \
       done )
   }
 done