From f77b79d5e734bc8734b59d4f6ef9ddc2e8f36125 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Mon, 25 Sep 2023 18:03:31 +0300 Subject: [PATCH] Add notes about always loading zprofile --- .zshrc.pre | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.zshrc.pre b/.zshrc.pre index 2a7f176..97ed2c5 100644 --- a/.zshrc.pre +++ b/.zshrc.pre @@ -1,2 +1,8 @@ +# Load zprofile for interactive prompts +# Some packages configure environment variables via this way +#if [[ ! -o login && -o interactive ]]; then +# source /etc/zsh/zprofile +#fi + # so that i can autoload -Uz local functions fpath=( ~/.config/zsh/functions $fpath)