From 38bab29776950ac2364ed64195b89887717c33de Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- zsh/.zshenv | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 zsh/.zshenv (limited to 'zsh/.zshenv') diff --git a/zsh/.zshenv b/zsh/.zshenv new file mode 100644 index 0000000..e4be411 --- /dev/null +++ b/zsh/.zshenv @@ -0,0 +1,18 @@ +#!/usr/bin/env zsh + +skip_global_compinit=1 + +setopt NO_GLOBAL_RCS + +export ZDOTDIR="${HOME}" +export ZCOMPDUMP="${ZDOTDIR}/.zsh.d/.zcompdump" +export ZLOGIN="${ZDOTDIR}/.zlogin" +export ZLOGOUT="${ZDOTDIR}/.zlogout" +export ZPROFILE="${ZDOTDIR}/.zprofile" +export ZSHENV="${ZDOTDIR}/.zshenv" +export ZSHRC="${ZDOTDIR}/.zshrc" + +if [[ "${SHLVL}" -eq 1 && ! -o LOGIN && -s "${ZPROFILE}" ]] +then + source "${ZPROFILE}" +fi -- cgit 1.4.1