diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2023-07-08 12:16:18 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2023-07-08 12:16:18 +0100 |
| commit | fc8bfbcdadbc9040b4f8d25f82f312a801e593ac (patch) | |
| tree | 05cd74fb9df3ab69356d4f0e278ff030e808da2a /dotfiles-darwin | |
| parent | 6da4c33877fc205df91dfe22e7d623547b5bc9ae (diff) | |
darwin/env.sh: Export HOST_SHORT
Diffstat (limited to 'dotfiles-darwin')
| -rwxr-xr-x | dotfiles-darwin/bin/env.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dotfiles-darwin/bin/env.sh b/dotfiles-darwin/bin/env.sh index e9eb62d..a6be66d 100755 --- a/dotfiles-darwin/bin/env.sh +++ b/dotfiles-darwin/bin/env.sh @@ -3,7 +3,8 @@ zmodload zsh/datetime echo_log() { echo $(strftime %+) - $@ } -for env in DOMAIN HOST UNAME XDG_{{CACHE,CONFIG,DATA}_HOME,RUNTIME_DIR}; do +for env (DOMAIN HOST{,_SHORT} UNAME + XDG_{{CACHE,CONFIG,DATA}_HOME,RUNTIME_DIR}); do echo_log Setting ${env} to “${(P)env}”. launchctl setenv ${env} ${(P)env} done |
