mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-23 14:49:30 +01:00
Remove unnecessary sub-shell, since we just need a truthy value here
This commit is contained in:
parent
3751e45717
commit
7e2ed6d595
@ -3,7 +3,7 @@
|
|||||||
# Include guard. This file is sourced in multiple places, but we want it to only execute once.
|
# 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
|
# 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
|
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
|
# For detecting color rendering support for this terminal, see #134
|
||||||
hishtory getColorSupport
|
hishtory getColorSupport
|
||||||
|
Loading…
Reference in New Issue
Block a user