Refactor config loading: step 2

Default settings are now set inside the _lp_source_config function
This commit is contained in:
Olivier Mengué 2012-08-21 07:05:15 +02:00
parent 15fbf26076
commit 29c5d217c7

View File

@ -163,6 +163,10 @@ esac
# CONFIGURATION #
#################
_lp_source_config()
{
# Note: configuration is called _after_ colors declarations, because of themes.
# Default values
@ -232,8 +236,6 @@ LP_COLORMAP_8=${LP_COLORMAP_8:-$CRIT_RED}
LP_COLORMAP_9=${LP_COLORMAP_9:-$DANGER_RED}
_lp_source_config()
{
# Default config file may be the XDG standard ~/.config/liquidpromptrc,
# but heirloom dotfile has priority.