mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-22 12:37:42 +00:00
Detect default terminal colors for mac term
This commit is contained in:
parent
8da9beac09
commit
fe1a146c84
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user