aboutsummaryrefslogtreecommitdiff
path: root/config/xonsh
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-03-12 12:56:36 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-03-12 12:56:36 +0100
commit90e9d8721a397bc97395fb46cba4511a4ed48b91 (patch)
treed7ce8cd7ee08966d9bf8c844cb8787803ab94725 /config/xonsh
parentf52f92065071992b68a047b1a016a6b74ae8b89f (diff)
downloaddotfiles-90e9d8721a397bc97395fb46cba4511a4ed48b91.tar.gz
dotfiles-90e9d8721a397bc97395fb46cba4511a4ed48b91.zip
[xonsh] only index PL_COLORS if it is a dict
Diffstat (limited to 'config/xonsh')
-rw-r--r--config/xonsh/rc.xsh3
1 files changed, 2 insertions, 1 deletions
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