diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2023-07-08 12:14:50 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2023-07-08 12:14:50 +0100 |
| commit | 6da4c33877fc205df91dfe22e7d623547b5bc9ae (patch) | |
| tree | 42cf8f4aca8f50f27f13651c54a97e2b17424fa3 /zsh | |
| parent | cdef6419b46d66747bb1edf324dc41223da87c14 (diff) | |
zsh: Only export unmodified HOST variable
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/env | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
