satisfy shellcheck
[distro-setup] / brc2
diff --git a/brc2 b/brc2
index 025008b230f36c1320dcc1028ca984e2551727b0..4d83fede6282902343d64aaad9ada1f3a20f3cce 100644 (file)
--- a/brc2
+++ b/brc2
@@ -3812,9 +3812,9 @@ rgv() {
 }
 
 amall() {
-  printf "$(tput setaf 5 2>/dev/null ||:)█ coresite █$(tput sgr0 2>/dev/null||:)"
+  echo "$(tput setaf 5 2>/dev/null ||:)█ coresite █$(tput sgr0 2>/dev/null||:)"
   amfsf "$@"
-  printf "$(tput setaf 5 2>/dev/null ||:)█ office █$(tput sgr0 2>/dev/null||:)"
+  echo "$(tput setaf 5 2>/dev/null ||:)█ office █$(tput sgr0 2>/dev/null||:)"
   amoffice "$@"
 }
 amallq() { # amall quiet
@@ -3833,8 +3833,9 @@ amls() {
   amall silence query "$@"
 }
 amrmall() {
-  amfsf silence expire $(amfsf silence query -q)
-  amoffice silence expire $(amoffice silence query -q)
+  # note: not sure if quoting of this arg is correct
+  amfsf silence expire "$(amfsf silence query -q)"
+  amoffice silence expire "$(amoffice silence query -q)"
 }