2017-03-14 19:07:45 -04:00
|
|
|
#!/bin/zsh
|
|
|
|
for name in ${(k)parameters}; do
|
2019-09-23 23:55:17 -04:00
|
|
|
[[ ${parameters[$name]} == scalar-*export* ]] || continue
|
2017-03-14 19:07:45 -04:00
|
|
|
print $name=${(P)name}
|
2019-09-23 23:55:17 -04:00
|
|
|
launchctl setenv $name "${(P)name}"
|
2017-03-14 19:07:45 -04:00
|
|
|
done
|