export ZDOTDIR="${ZDOTDIR:-$HOME}"
export ZSH_CONFIG_DIR="$HOME/.zsh.d"

setopt null_glob
for zsh_config in "$ZSH_CONFIG_DIR"/*.zsh; do
  source "$zsh_config"
done
unset zsh_config


# opencode
export PATH=/home/owen/.opencode/bin:$PATH
export PATH="$HOME/.npm-global/bin:$PATH"

# 1Password service account (scoped to Homelab vault) — headless CLI auth, no biometric prompts
export OP_SERVICE_ACCOUNT_TOKEN="$(cat ~/.config/op/homelab-agent.token 2>/dev/null)"
