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