From ccf94b7df09799feb201d1a59928932fda4e24f4 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 31 Oct 2014 18:30:03 +0100 Subject: zsh: Adding config files for zprezto, zsh settings and prompts, to comply with the way zprezto gets started --- .zshenv | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .zshenv (limited to '.zshenv') diff --git a/.zshenv b/.zshenv new file mode 100644 index 0000000..2b13503 --- /dev/null +++ b/.zshenv @@ -0,0 +1,12 @@ +# +# Defines environment variables. +# +# Authors: +# Sorin Ionescu +# + +# 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 + -- cgit v1.2.3-54-g00ecf