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
This commit is contained in:
Ade Attwood 2020-12-28 09:22:43 +00:00
parent 578d0b5f8b
commit b751a5f34b

View file

@ -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" ] && \