summaryrefslogtreecommitdiff
path: root/shell-completion/systemd-zsh-completion.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/systemd-zsh-completion.zsh')
-rw-r--r--shell-completion/systemd-zsh-completion.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/systemd-zsh-completion.zsh b/shell-completion/systemd-zsh-completion.zsh
index a54e9d727a..8b60859c23 100644
--- a/shell-completion/systemd-zsh-completion.zsh
+++ b/shell-completion/systemd-zsh-completion.zsh
@@ -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