From 62871f6dda6f91d9c339e3e2c7a9d3752330c289 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 14 Jun 2018 08:38:08 +1000 Subject: [PATCH] osx-env-sync - include scalar-export-special parameters, such as PATH, in the sync --- local/bin/osx-env-sync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/bin/osx-env-sync b/local/bin/osx-env-sync index 186caf8..1e98fa8 100755 --- a/local/bin/osx-env-sync +++ b/local/bin/osx-env-sync @@ -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