zsh: check before run coloscript

not running colorscript inside integrated terminal emulator should be
zsh's responsability
This commit is contained in:
Guilherme Rugai Freire 2021-08-14 11:38:36 -03:00
parent 4c62346eef
commit 5bc29db88f
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297

5
.zshrc
View File

@ -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