From 888248a74851e602efdbfbbb04d0250d94a199d8 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Thu, 21 Nov 2024 11:25:18 -0500 Subject: [PATCH] global/zsh: fix censor-audio function --- users/modules/global/shells/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/modules/global/shells/zsh.nix b/users/modules/global/shells/zsh.nix index 13dd6e6..02e168a 100644 --- a/users/modules/global/shells/zsh.nix +++ b/users/modules/global/shells/zsh.nix @@ -97,7 +97,7 @@ filters="" while [[ "$1" =~ ^"[0-9]+\.?[0-9]*-[0-9]+\.?[0-9]*"$ ]]; do - if [ $filters != "" ]; then + if [ "$filters" != "" ]; then filters+=", " fi filters+="volume=enable='between(t,''${1/-/,})':volume=0"