summaryrefslogtreecommitdiffstats
path: root/zsh/.zshenv
diff options
context:
space:
mode:
authorAmin Bandali <amin@aminb.org>2017-04-27 09:20:32 -0400
committerAmin Bandali <amin@aminb.org>2017-04-27 09:20:32 -0400
commit855ca24386a69957e9449ba3d53e549cfeb11c87 (patch)
treec7fd375f1fc07c4610963aea9707c36741c2f1b7 /zsh/.zshenv
parent5ee38ac2b3d22d617605185087c74db0f6a40091 (diff)
downloadconfigs-855ca24386a69957e9449ba3d53e549cfeb11c87.tar.gz
configs-855ca24386a69957e9449ba3d53e549cfeb11c87.tar.xz
configs-855ca24386a69957e9449ba3d53e549cfeb11c87.zip
New setup
This was sitting uncommitted locally for a while, thought it was time to commit it and push it.
Diffstat (limited to '')
-rw-r--r--zsh/.zshenv4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv
new file mode 100644
index 0000000..c23f284
--- /dev/null
+++ b/zsh/.zshenv
@@ -0,0 +1,4 @@
+# Ensure that a non-login, non-interactive shell has a defined environment.
+if [[ "$SHLVL" -eq 1 && ! -o LOGIN && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then
+ source "${ZDOTDIR:-$HOME}/.zprofile"
+fi