From 5bc29db88f36017298374bbecdf2df5ad6f9d90f Mon Sep 17 00:00:00 2001 From: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Date: Sat, 14 Aug 2021 11:38:36 -0300 Subject: [PATCH] zsh: check before run coloscript not running colorscript inside integrated terminal emulator should be zsh's responsability --- .zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 0d760dd..18cc914 100644 --- a/.zshrc +++ b/.zshrc @@ -57,4 +57,7 @@ nvm() { source $HOME/.nvm/nvm.sh; nvm "$@" } -colorscript random +# Check if is integrated terminal emulator +if [ -z "$INTEG_EMU" ]; then + colorscript random; +fi