From b751a5f34b057e6f6a384c2f6ec8a9adca0743b6 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Mon, 28 Dec 2020 09:22:43 +0000 Subject: [PATCH] fix(zsh): disable base16 shell when in ssh session When connecting to a workstation with this zshrc base16 will get in causing issues in the theme on the client workstation --- 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 f49455f..364f9ce 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 # -if [[ -z $INSIDE_EMACS ]]; then +if [[ -z $INSIDE_EMACS ]] && [[ -z "$SSH_TTY" ]] ; then BASE16_SHELL="$HOME/.config/base16-shell/" [ -n "$PS1" ] && \ [ -s "$BASE16_SHELL/profile_helper.sh" ] && \