Remove unnecessary sub-shell, since we just need a truthy value here

This commit is contained in:
David Dworken 2024-02-18 18:13:38 -08:00
parent 1ff299c86a
commit 427ba01405
No known key found for this signature in database

View File

@ -3,7 +3,7 @@
# Include guard. This file is sourced in multiple places, but we want it to only execute once.
# This trick is from https://stackoverflow.com/questions/7518584/is-there-any-mechanism-in-shell-script-alike-include-guard-in-c
if [ -n "$__hishtory_bash_config_sourced" ]; then return; fi
__hishtory_bash_config_sourced=`date`
__hishtory_bash_config_sourced=true
# For detecting color rendering support for this terminal, see #134
hishtory getColorSupport