summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2007-05-17 22:38:43 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:12 +0100
commitdee8d4941f20710617465270d86eacd53e2643fb (patch)
treef0c693205ae726b0aba408460a43e5aaa3ae232f /.zshrc
parent39a44a361c8551a0be48a59fdbf7fa86a29a6d89 (diff)
Correctifs apportés suite à la mise à jour sur Prunelle (Darwin)
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@386 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 7455049..7653803 100644
--- a/.zshrc
+++ b/.zshrc
@@ -29,7 +29,7 @@ mkdir -p $ZDOTDIR
USER=${USER:-`whoami`}
UID=${UID:-`id -u`}
HOST=${HOST:-$(hostname -s)}
-DOMAIN=${DOMAIN:-${$(hostname -d):-$(hostname -y)}}
+DOMAIN=${DOMAIN:-${$(hostname -d 2>&-):-$(hostname -y 2>&-)}}
DEBUG=no