From 6193859294b95218677527e35615eacfd90f01a7 Mon Sep 17 00:00:00 2001 From: Nguyen Ngoc Minh Tu <81374684+hareki@users.noreply.github.com> Date: Tue, 5 Nov 2024 10:47:26 +0700 Subject: [PATCH] fix: envvar_value logic to handle '=' in tmux variable values --- scripts/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.sh b/scripts/utils.sh index 73158a1..62c5b8d 100755 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash envvar_value() { - tmux showenv -g "$1" | cut -d '=' -f 2 + tmux showenv -g "$1" | cut -d '=' -f 2- } tmux_option_or_fallback() {