9 lines
222 B
Bash
9 lines
222 B
Bash
#!/usr/bin/env bash
|
|
|
|
autostart_units=()
|
|
while IFS='' read -r line
|
|
do
|
|
autostart_units+=("$line")
|
|
done < <(_list "*")
|
|
|
|
_echo_table "${autostart_units[@]}" | column -t -s$'\t' --table-columns 'Unit,Enabled?,Active?,Command'
|