commit 830c15d5ecf475fd10b98bc1515aa22b4f0e3086
parent ed533ae9e75178703810df54e014264378fe7657
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Fri, 29 Jul 2022 00:29:02 +0200
Add missing newline in output, fix typo
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/command/s b/command/s
@@ -45,7 +45,7 @@ print_service_bundles() {
return
fi
for b in ${(f)service_bundles[$s]}; do
- if (($+service_active[$b)); then
+ if (($+service_active[$b])); then
pre='%F{yellow}%B'
post='%b%f'
else
@@ -54,6 +54,7 @@ print_service_bundles() {
fi
printf '\t%s' "${(%)pre}$b${(%)post}"
done
+ print
}
show_oneshots() {