From 67de196e8aa04df26ac2a14f42902b650258f80b Mon Sep 17 00:00:00 2001 From: Taeyeon Mori Date: Sun, 5 Nov 2017 23:42:16 +0900 Subject: [PATCH] zsh: Remove zshenv The code conditionally sourcing zprofile moved to the generated .zshenv zsh/zshenv was otherwise empty and is now one file less zsh has to open on startup. install needs to be re-run to update the generated .zshenv --- install | 3 ++- zsh/zprofile | 21 ++++++++------------- zsh/zshenv | 11 ----------- 3 files changed, 10 insertions(+), 25 deletions(-) delete mode 100644 zsh/zshenv diff --git a/install b/install index 083d8a1..7db5ea7 100755 --- a/install +++ b/install @@ -161,7 +161,8 @@ color 32 echo " Writing .zshenv" generate "$HOME/.zshenv" < -# - -# Source the profile on every top-level shell -if [[ "$SHLVL" -eq 1 && ! -o LOGIN ]]; then - source "$DOTFILES/zsh/zprofile" -fi