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.
This commit is contained in:
parent
53a9a07bf6
commit
1dfe088757
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue