From 322358b0f01808a253558269c2548605cf7d76d7 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 27 Apr 2019 20:28:28 -0700 Subject: [PATCH] Add env var to disable zprezto. --- dotfiles/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 6a90144..320013c 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -27,7 +27,7 @@ PS1="%{$fg[black]%}[%{$fg[yellow]%}%h%{$fg[black]%}] %{%(!.$fg[red].$fg[green])% zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} # Load prezto -if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then +if [[ -z "${NO_ZPREZTO}" && -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" fi