aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sh/01_environment.d
blob: eea29179a743a64b523179fb01de8f5082a62071 (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

for f in ${HOME}/.config/environment.d/*; do
    . $f
    for VAR in $(sed -n '/^[^#]/ s/=.*//p' $f); do
        export $VAR
    done
done