---
config:
  theme: 'dark'
---
graph TD;
	A["$ZDOTDIR/.zshenv"]-->Q1{is a login shell?}
	
	Q1--No-->H["end"]
	Q1--Yes-->B["/etc/zprofile"]
	B-->C["$ZDOTDIR/.zprofile"]

	C-->Q2{shell is interactive}

	Q2--No-->H
	Q2--Yes-->D["/etc/zshrc"]
	D-->E["$ZDOTDIR/.zshrc"]

	E-->Q3{is a login shell}
	
	Q3--No-->H
	Q3--Yes-->F["/etc/zlogin"]
	F-->G["$ZDOTDIR/.zlogin"]

	G-->H