From b620a4f0fb6d8631b98559022a1d5e5f2bd2ce4f Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Mon, 1 Aug 2022 17:14:21 +0200 Subject: [PATCH] turn off history substitution in case it's been enabled (2), fixes #583 dash considers "set +H" is a syntax error and doesn't even evaluate the " || true" part the workaround consists in trying "set +H" in a subshell first --- .tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 1e20460..a23bdad 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -178,7 +178,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration' # # unset GREP_OPTIONS # export LC_NUMERIC=C -# set +H 2>/dev/null || true +# (set +H 2>/dev/null) && set +H || true # # if ! printf '' | sed -E 's///' 2>/dev/null; then # if printf '' | sed -r 's///' 2>/dev/null; then