From 4b32447683beeea38444b198a384a6adf99721cf Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Mon, 6 Jan 2020 21:50:13 +0000 Subject: Export DOMAIN on both Linux and macOS Also, use -s with cut so that DOMAIN will be empty if no domain is set. --- dotfiles-darwin/zsh/env | 1 - 1 file changed, 1 deletion(-) (limited to 'dotfiles-darwin') 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 -- cgit v1.2.3-70-g09d2