summaryrefslogtreecommitdiff
path: root/zsh/env
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/env')
-rw-r--r--zsh/env1
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh/env b/zsh/env
index 8bfe0fb..e905bbb 100644
--- a/zsh/env
+++ b/zsh/env
@@ -10,6 +10,7 @@ source_if_exists() {
[[ ${HOST} =~ \\. ]] && export DOMAIN=${(j:.:)${(s:.:)HOST}[-2,-1]:l}
export HOST=${HOST:l}
+export HOST_SHORT=${${(%):-%m}:l}
case ${OSTYPE} in
darwin*) export UNAME=darwin ;;
linux*) export UNAME=linux ;;