mac/dot-local/bin/osx-env-sync
2023-10-23 15:15:37 +11:00

6 lines
169 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