From fe1a146c849d761bcc5573dc6085067849fe4750 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Wed, 25 Aug 2021 16:26:47 -0700 Subject: [PATCH] Detect default terminal colors for mac term --- assets/default/bin/derive_colors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/default/bin/derive_colors.py b/assets/default/bin/derive_colors.py index de2bdaa..f538971 100755 --- a/assets/default/bin/derive_colors.py +++ b/assets/default/bin/derive_colors.py @@ -53,7 +53,6 @@ def get_terminal_profile(force=False): ) exit(0) - term_program = os.environ.get("TERM_PROGRAM") if term_program == "Apple_Terminal": tty = check_output(["tty"]).strip() @@ -94,6 +93,8 @@ def get_vim_colorscheme(terminal_profile: str, force_dark=False, force=False): return "morning" elif "Yosemite Dark" == terminal_profile: return "vividchalk" + elif "Basic" == terminal_profile: + return "default" # Default return "wombat256mod"