- _sys_startable_units=( $( _filter_units_by_property ActiveState inactive $(
- _filter_units_by_property CanStart yes $(
- __systemctl $mode list-unit-files --state enabled,disabled,static | \
- { while read -r a b; do [[ $a =~ @\. ]] || echo -E - " $a"; done; }
- __systemctl $mode list-units --state inactive,failed | \
- { while read -r a b; do echo -E - " $a"; done; } )) ) )
+ _sys_startable_units=( $( _filter_units_by_property ActiveState inactive $(
+ _filter_units_by_property CanStart yes ${${${(f)"$(
+ __systemctl $mode list-unit-files --state enabled,enabled-runtime,linked,linked-runtime,static,indirect,disabled,generated,transient "$PREFIX*"
+ __systemctl $mode list-units --state inactive,failed "$PREFIX*"
+ )"}:#*@.*}%%[[:space:]]*}
+ )) )