Browse Source

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
my-config
Gregory Pakosz 2 years ago
parent
commit
b620a4f0fb
  1. 2
      .tmux.conf

2
.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

Loading…
Cancel
Save