summaryrefslogtreecommitdiff
path: root/.config/login.d/00_path.sh
blob: 2d5f4a50eef898ebe539d5a167b4cc7a82c99711 (plain)
1
2
3
4
5
6
7
8
#!/hint/sh
if type config-path &>/dev/null; then
	config_path=config-path
else
	# Bootstrap finding config-path
	config_path="$HOME/.local/bin/config-path"
fi
eval "$(IFS=$'\n'; lines=($("$config_path")); printf -- 'export %s\n' "${lines[@]}")"