From 9b5f5155b3e1bfb813458923d4e84f4c6b696d03 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Tue, 7 May 2019 21:48:24 +0200 Subject: [PATCH] updated _apply_configuration() to redact tmux_conf_ variables from environment in a single call --- .tmux.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 3783148..332a1f3 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1216,7 +1216,8 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim # _apply_overrides # _apply_bindings # _apply_theme -# for name in $(printenv | grep -E -o '^tmux_conf_[^=]+'); do tmux setenv -gu "$name"; done; +# # shellcheck disable=SC2046 +# tmux setenv -gu tmux_conf_dummy $(printenv | grep -E -o '^tmux_conf_[^=]+' | awk '{printf "; setenv -gu %s", $0}') # } # # _urlview() {