#!/bin/sh

# POSIX login environment. Sourced directly by a /bin/sh login (display
# managers, plain sh) and indirectly by bash via ~/.bashrc. Env only — no
# brace expansion (dash doesn't expand it), no shell-specific rc.
#
# Interactive config (aliases, functions, prompt) is loaded by each shell's
# own rc via ~/.config/shell/interactive, not here.
for _name in path exports; do
	_file="${XDG_CONFIG_HOME:-$HOME/.config}/shell/$_name"
	[ -r "$_file" ] && . "$_file"
done
unset _name _file
