chiark / gitweb /
shell-completion: add shell completion for "systemctl help"
[elogind.git] / shell-completion / systemd-zsh-completion.zsh
index a54e9d727ade070a2207c5ddf2f9674adef5435b..8b60859c23654e57e52b1912cfb3a5d756468762 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