From c31b9b2c6c7c50abbebd02b80c4fd32b2782a011 Mon Sep 17 00:00:00 2001 From: Paul Thomson <39510290+pauldthomson@users.noreply.github.com> Date: Wed, 4 Sep 2024 18:09:42 +1000 Subject: [PATCH] fix(kube): escape env var Need this to be interpreted when tmux status is updated rather than when this script executes as the value is set in the tmux env rather than the current shell --- status/kube.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/status/kube.sh b/status/kube.sh index 5e4d26d..0228d62 100644 --- a/status/kube.sh +++ b/status/kube.sh @@ -16,7 +16,7 @@ show_kube() { context_color=$(get_tmux_batch_option "@catppuccin_kube_context_color" "#{thm_red}") namespace_color=$(get_tmux_batch_option "@catppuccin_kube_namespace_color" "#{thm_cyan}") symbol_enabled=${KUBE_TMUX_SYMBOL_ENABLE:-false} - text=$(get_tmux_batch_option "@catppuccin_kube_text" "#(KUBE_TMUX_SYMBOL_ENABLE=$symbol_enabled ${TMUX_PLUGIN_MANAGER_PATH}kube-tmux/kube.tmux 250 '$context_color' '$namespace_color')") + text=$(get_tmux_batch_option "@catppuccin_kube_text" "#(KUBE_TMUX_SYMBOL_ENABLE=$symbol_enabled \${TMUX_PLUGIN_MANAGER_PATH}kube-tmux/kube.tmux 250 '$context_color' '$namespace_color')") module=$(build_status_module "$index" "$icon" "$color" "$text")