zsh: move ZSH_CONFIG to zshrc for init sourcing

This commit is contained in:
2026-08-01 02:15:30 -04:00
parent df94a030e8
commit a592e6f8b3
2 changed files with 3 additions and 2 deletions
-1
View File
@@ -1,4 +1,3 @@
export ZSH_CONFIG=$HOME/.config/zsh
export OHMYZSH=$ZSH_CONFIG/oh-my-zsh
export OHMYZSH_CUSTOM=$OHMYZSH/custom
+3 -1
View File
@@ -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