From 1dfe088757f4941ded1b39296dd11a543a4817c0 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Sat, 2 Mar 2024 18:25:12 +0000 Subject: [PATCH] feat(shell): don't load base16 themes when useing WarpTerminal I have started playing with this terminal and it has all its own themes and base16 was getting in the way. --- site-modules/core/files/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-modules/core/files/zshrc b/site-modules/core/files/zshrc index 5c476c9..b81c377 100644 --- a/site-modules/core/files/zshrc +++ b/site-modules/core/files/zshrc @@ -47,7 +47,7 @@ printf '\033[5 q' # Configure base16 shell for colors if the terminal is not running inside of # emacs or vim # -if [[ -z "$VIM" ]] && [[ -z "$INSIDE_EMACS" ]] && [[ -z "$SSH_TTY" ]] ; then +if [[ -z "$VIM" ]] && [[ -z "$INSIDE_EMACS" ]] && [[ "$TERM_PROGRAM" != "WarpTerminal" ]] && [[ -z "$SSH_TTY" ]] ; then export BASE16_SHELL_ENABLE_VARS=1 BASE16_CONFIG_PATH="$HOME/.config/base16-shell/" [ -s "$BASE16_CONFIG_PATH/profile_helper.sh" ] && source "$BASE16_CONFIG_PATH/profile_helper.sh"