|
Lines 182-189
Link Here
|
| 182 |
comps=$( __filter_units_by_property $mode CanStart yes \ |
182 |
comps=$( __filter_units_by_property $mode CanStart yes \ |
| 183 |
$( __get_all_units $mode \ |
183 |
$( __get_all_units $mode \ |
| 184 |
| while read -r line; do \ |
184 |
| while read -r line; do \ |
| 185 |
[[ "$line" =~ \.(device|snapshot|socket|timer)$ ]] || echo " $line"; \ |
185 |
[[ "$line" =~ @\.|\.(device|snapshot|socket|timer)$ ]] || echo " $line"; \ |
| 186 |
done )) |
186 |
done ) ) |
| 187 |
compopt -o filenames |
187 |
compopt -o filenames |
| 188 |
|
188 |
|
| 189 |
elif __contains_word "$verb" ${VERBS[STOPPABLE_UNITS]}; then |
189 |
elif __contains_word "$verb" ${VERBS[STOPPABLE_UNITS]}; then |
|
Lines 198-204
Link Here
|
| 198 |
|
198 |
|
| 199 |
elif __contains_word "$verb" ${VERBS[ISOLATABLE_UNITS]}; then |
199 |
elif __contains_word "$verb" ${VERBS[ISOLATABLE_UNITS]}; then |
| 200 |
comps=$( __filter_units_by_property $mode AllowIsolate yes \ |
200 |
comps=$( __filter_units_by_property $mode AllowIsolate yes \ |
| 201 |
$( __get_all_units $mode ) ) |
201 |
$( __get_all_units $mode \ |
|
|
202 |
| while read -r line; do \ |
| 203 |
[[ "$line" =~ @\. ]] || echo " $line"; \ |
| 204 |
done ) ) |
| 202 |
compopt -o filenames |
205 |
compopt -o filenames |
| 203 |
|
206 |
|
| 204 |
elif __contains_word "$verb" ${VERBS[FAILED_UNITS]}; then |
207 |
elif __contains_word "$verb" ${VERBS[FAILED_UNITS]}; then |