chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
completion: filter templates from restartable units
[elogind.git]
/
shell-completion
/
bash
/
systemctl.in
diff --git
a/shell-completion/bash/systemctl.in
b/shell-completion/bash/systemctl.in
index 64b15df462df091c4038ca2a50ec664fbf3d8b2c..015001815f57a57b672b17020ed90c04edda9cdd 100644
(file)
--- 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 \
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
done ))
compopt -o filenames