summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xzshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index af04355..c137ef7 100755
--- a/zshrc
+++ b/zshrc
@@ -13,7 +13,7 @@ hash -d d=${HOME}/docker
[[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] && source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
-source $ZSH_BASE/zprofile
+grep -q docker /proc/1/cgroup || source $ZSH_BASE/zprofile
source $ZSH_BASE/antigen/antigen.zsh
source $ZSH_BASE/zsh/setopt.zsh
source $ZSH_BASE/zsh/prompt.zsh