From a592e6f8b39531da6c2062c24aac64ea78fe93d2 Mon Sep 17 00:00:00 2001 From: Jeremy McClure Date: Sat, 1 Aug 2026 02:15:30 -0400 Subject: [PATCH] zsh: move ZSH_CONFIG to zshrc for init sourcing --- zsh/zsh-init.sh | 1 - zsh/zshrc | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/zsh/zsh-init.sh b/zsh/zsh-init.sh index c1b8b7b..f68f178 100644 --- a/zsh/zsh-init.sh +++ b/zsh/zsh-init.sh @@ -1,4 +1,3 @@ -export ZSH_CONFIG=$HOME/.config/zsh export OHMYZSH=$ZSH_CONFIG/oh-my-zsh export OHMYZSH_CUSTOM=$OHMYZSH/custom diff --git a/zsh/zshrc b/zsh/zshrc index a4084f6..93d1032 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,4 +1,6 @@ -[[ -f "$HOME/.config/zsh/zsh-init.sh" ]] && source "$HOME/.config/zsh/zsh-init.sh" +export ZSH_CONFIG=$HOME/.config/zsh + +[[ -f "$ZSH_CONFIG/zsh-init.sh" ]] && source "$ZSH_CONFIG/zsh-init.sh" source $OHMYZSH/oh-my-zsh.sh