projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New setup
[~bandali/configs]
/
zsh
/
.zshenv
diff --git a/zsh/.zshenv
b/zsh/.zshenv
new file mode 100644
(file)
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