osx-env-sync - include scalar-export-special parameters, such as PATH, in the sync
This commit is contained in:
parent
af8f596ad3
commit
62871f6dda
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/zsh
|
||||
for name in ${(k)parameters}; do
|
||||
[[ ${parameters[$name]} == scalar-export ]] || continue
|
||||
[[ ${parameters[$name]} == scalar-export* ]] || continue
|
||||
print $name=${(P)name}
|
||||
launchctl setenv $name ${(P)name}
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue