diff --git a/dotfiles/.config/bpython/config b/dotfiles/.config/bpython/config index 401ce79..f5746f2 100644 --- a/dotfiles/.config/bpython/config +++ b/dotfiles/.config/bpython/config @@ -33,7 +33,7 @@ # Color schemes should be put in $XDG_CONFIG_HOME/bpython/ e.g. to use the theme # $XDG_CONFIG_HOME/bpython/foo.theme set color_scheme = foo. Leave blank or set # to "default" to use the default theme -# color_scheme = default + color_scheme = ginyu # External editor to use for editing the current line, block, or full history # Examples: vi (vim) diff --git a/dotfiles/.config/bpython/ginyu.theme b/dotfiles/.config/bpython/ginyu.theme new file mode 100644 index 0000000..0130ae6 --- /dev/null +++ b/dotfiles/.config/bpython/ginyu.theme @@ -0,0 +1,30 @@ +# Each letter represents a colour marker: +# k, r, g, y, b, m, c, w, d +# which stands for: +# blacK, Red, Green, Yellow, Blue, Magenta, Cyan, White, Default +# Capital letters represent bold +# Copy to $XDG_CONFIG_HOME/bpython/foo.theme and set "color_scheme = foo" in +# $XDG_CONFIG_HOME/bpython/config ($XDG_CONFIG_HOME defaults to ~/.config) + +[syntax] +keyword = y +name = c +comment = b +string = m +error = r +number = G +operator = Y +punctuation = y +token = C +paren = R + +[interface] +# XXX: gnome-terminal appears to be braindead. The cursor will disappear unless +# you set the background colour to "d". +background = d +output = w +main = c +prompt = c +prompt_more = g +right_arrow_suggestion = w +