mac/local/bin/osx-env-sync

6 lines
165 B
Bash
Executable file

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