From 5dbb5ec61740cc7f3a7a8b8c063f5e1f4095fc66 Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Tue, 20 Jul 2021 10:55:24 -0500 Subject: [PATCH] Support local zshenv --- zshenv | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zshenv b/zshenv index c1e09a3..ee5bcb3 100644 --- a/zshenv +++ b/zshenv @@ -3,4 +3,8 @@ export GPG_TTY=$(tty) fpath+=(~/.zsh/completions) -. "$HOME/.cargo/env" +# Setup cargo +[[ ! -f ~/.cargo/env ]] || source ~/.cargo/env + +# Source machine-specific environment +[[ ! -f ~/.zshenv.local ]] || source ~/.zshenv.local