summaryrefslogtreecommitdiff
path: root/dotfiles-darwin
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2020-01-06 21:50:13 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2020-01-06 21:53:08 +0000
commit4b32447683beeea38444b198a384a6adf99721cf (patch)
tree895dda730e2c78e5796e64f904814222f0772efa /dotfiles-darwin
parent8ec6e87077dbed6f975d95bbd27374f9dde9e4eb (diff)
Export DOMAIN on both Linux and macOS
Also, use -s with cut so that DOMAIN will be empty if no domain is set.
Diffstat (limited to 'dotfiles-darwin')
-rw-r--r--dotfiles-darwin/zsh/env1
1 files changed, 0 insertions, 1 deletions
diff --git a/dotfiles-darwin/zsh/env b/dotfiles-darwin/zsh/env
index d239818..3bcf9ea 100644
--- a/dotfiles-darwin/zsh/env
+++ b/dotfiles-darwin/zsh/env
@@ -1,6 +1,5 @@
# -*- mode: shell-script -*-
-export DOMAIN=$(cut -d. -f2- <<<${HOST})
export GOPATH=~/Go
export XDG_CACHE_HOME=~/Library/Caches
export XDG_CONFIG_HOME=~/Library/Preferences