Refactor config loading: step 1
This commit is contained in:
parent
0cfcbac7c7
commit
15fbf26076
@ -232,10 +232,11 @@ LP_COLORMAP_8=${LP_COLORMAP_8:-$CRIT_RED}
|
||||
LP_COLORMAP_9=${LP_COLORMAP_9:-$DANGER_RED}
|
||||
|
||||
|
||||
# Default config file may be the XDG standard ~/.config/liquidpromptrc,
|
||||
# but heirloom dotfile has priority.
|
||||
_lp_source_config()
|
||||
{
|
||||
# Default config file may be the XDG standard ~/.config/liquidpromptrc,
|
||||
# but heirloom dotfile has priority.
|
||||
|
||||
local configfile
|
||||
if [[ -f "/etc/liquidpromptrc" ]]
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user