Detect default terminal colors for mac term

This commit is contained in:
ViViDboarder 2021-08-25 16:26:47 -07:00
parent 8da9beac09
commit fe1a146c84

View File

@ -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"