#!/bin/sh userprofile_d=$XDG_CONFIG_HOME/xprofile.d if [ -d "$userprofile_d" ] ; then for f in $userprofile_d/?*.sh ; do [ -f "$f" ] && source "$f" done unset f fi