1
0
Fork 0
mirror of synced 2024-11-17 23:15:35 -05:00

turn off history substitution in case it's been enabled (3)

disabled SC3041 violation and fixed SC2015 violation

SC3041 (warning): In POSIX sh, set flag -H is undefined

SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true
This commit is contained in:
Gregory Pakosz 2023-03-05 17:26:21 +01:00
parent b17d57f325
commit f27641c846

View file

@ -167,7 +167,10 @@ run 'cut -c3- "$TMUX_CONF" | sh -s _apply_configuration'
#
# unset GREP_OPTIONS
# export LC_NUMERIC=C
# (set +H 2>/dev/null) && set +H || true
# # shellcheck disable=SC3041
# if (set +H 2>/dev/null); then
# set +H
# fi
#
# if ! printf '' | sed -E 's///' 2>/dev/null; then
# if printf '' | sed -r 's///' 2>/dev/null; then