summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2023-07-08 12:14:50 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2023-07-08 12:14:50 +0100
commit6da4c33877fc205df91dfe22e7d623547b5bc9ae (patch)
tree42cf8f4aca8f50f27f13651c54a97e2b17424fa3 /zsh
parentcdef6419b46d66747bb1edf324dc41223da87c14 (diff)
zsh: Only export unmodified HOST variable
Diffstat (limited to 'zsh')
-rw-r--r--zsh/env2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/env b/zsh/env
index cec4b06..91c2e69 100644
--- a/zsh/env
+++ b/zsh/env
@@ -13,7 +13,7 @@ source_if_exists() {
return 0
}
-export HOST=${HOST:l}
+export HOST=${HOST}
export HOST_SHORT=${${(%):-%m}:l}
export DOMAIN=${${${(%):-%M}#${HOST_SHORT}.}:l}
case ${OSTYPE} in