From 5cc1fe9a12553099bf4147c16b7a5eeb7495a6b4 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Tue, 7 May 2019 20:28:28 +0200 Subject: [PATCH] removed subshell invocations from _is_enabled() --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index dde6fdc..3783148 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -192,7 +192,7 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim # ' # # _is_enabled() { -# ( ([ x"$1" = x"enabled" ] || [ x"$1" = x"true" ] || [ x"$1" = x"yes" ] || [ x"$1" = x"1" ]) && return 0 ) || return 1 +# [ x"$1" = x"true" ] || [ x"$1" = x"yes" ] || [ x"$1" = x"enabled" ] || [ x"$1" = x"1" ] # } # # _circled() {