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:
parent
578d0b5f8b
commit
b751a5f34b
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
|
# Configure base16 shell for colors if the terminal is not running inside of
|
||||||
# emacs
|
# emacs
|
||||||
#
|
#
|
||||||
if [[ -z $INSIDE_EMACS ]]; then
|
if [[ -z $INSIDE_EMACS ]] && [[ -z "$SSH_TTY" ]] ; then
|
||||||
BASE16_SHELL="$HOME/.config/base16-shell/"
|
BASE16_SHELL="$HOME/.config/base16-shell/"
|
||||||
[ -n "$PS1" ] && \
|
[ -n "$PS1" ] && \
|
||||||
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
|
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue