Disable custom xonsh style

This commit is contained in:
2022-03-31 10:31:07 -07:00
parent 7c83c8ea0b
commit 993e1a88a3

View File

@@ -11,15 +11,15 @@ else:
"{#5E6470}\ue0b1 {BLUE}{short_cwd} {DEFAULT}{env_name}{RESET}{#2E3440}\ue0b0\n" \ "{#5E6470}\ue0b1 {BLUE}{short_cwd} {DEFAULT}{env_name}{RESET}{#2E3440}\ue0b0\n" \
"{RESET}{INTENSE_GREEN}{prompt_end}{RESET} " "{RESET}{INTENSE_GREEN}{prompt_end}{RESET} "
# Color style to fix unreadable greys # # Color style to fix unreadable greys
from xonsh.tools import register_custom_style # from xonsh.tools import register_custom_style
ttm_style = { # ttm_style = {
# Put custom overrides here # # Put custom overrides here
# Discover list of styles by running "xonfig colors default" # # Discover list of styles by running "xonfig colors default"
# Discover default mappings by cross referencing # # Discover default mappings by cross referencing
# https://github.com/xonsh/xonsh/blob/main/xonsh/style_tools.py # # https://github.com/xonsh/xonsh/blob/main/xonsh/style_tools.py
# and # # and
# https://github.com/pygments/pygments/blob/master/pygments/styles/native.py # # https://github.com/pygments/pygments/blob/master/pygments/styles/native.py
} # }
register_custom_style("ttm-style", ttm_style, base="native") # register_custom_style("ttm-style", ttm_style, base="native")
$XONSH_COLOR_STYLE = "ttm-style" # $XONSH_COLOR_STYLE = "ttm-style"