mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Update darwin variables
This commit is contained in:
8
bin/darwin-env.sh
Executable file
8
bin/darwin-env.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
env > ${TMPDIR}/env-pre
|
||||
. ${HOME}/.shenv
|
||||
env > ${TMPDIR}/env-post
|
||||
for VAR in $(env | cut -d'=' -f1) ; do
|
||||
/bin/launchctl setenv "${VAR}" "$(eval echo \$${VAR})"
|
||||
done
|
||||
Reference in New Issue
Block a user