mac/local/bin/osx-env-sync

7 lines
166 B
Text
Raw Normal View History

#!/bin/zsh
for name in ${(k)parameters}; do
[[ ${parameters[$name]} == scalar-export* ]] || continue
print $name=${(P)name}
launchctl setenv $name ${(P)name}
done