From 90e9d8721a397bc97395fb46cba4511a4ed48b91 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 12 Mar 2020 12:56:36 +0100 Subject: [xonsh] only index PL_COLORS if it is a dict --- config/xonsh/rc.xsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/xonsh/rc.xsh b/config/xonsh/rc.xsh index 6fae461..cef866a 100644 --- a/config/xonsh/rc.xsh +++ b/config/xonsh/rc.xsh @@ -37,7 +37,8 @@ $PL_RPROMPT = "rtns>timing" $PL_TOOLBAR = "!" xontrib load powerline2 -$PL_COLORS["branch"] = "WHITE" +if type($PL_COLORS) == dict: + $PL_COLORS["branch"] = "WHITE" ### BEHAVIOUR ### $COMPLETIONS_CONFIRM = True -- cgit v1.2.3