diff options
Diffstat (limited to '')
-rw-r--r-- | dot_config/sh/01_environment.d | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dot_config/sh/01_environment.d b/dot_config/sh/01_environment.d new file mode 100644 index 0000000..eea2917 --- /dev/null +++ b/dot_config/sh/01_environment.d @@ -0,0 +1,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 |