From 3e9aeabe6d34ce5aa92905960ed17bec3163a3e1 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 17 Oct 2008 14:44:48 +0200 Subject: Bug sur HOST dans l'adaptation iBook --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index a418fac..ec461f3 100644 --- a/zshrc +++ b/zshrc @@ -30,7 +30,7 @@ mkdir -p $ZDOTDIR # the required processes each time we'll need. USER=${USER:-`whoami`} UID=${UID:-`id -u`} -HOST=$£OST:r +HOST=$HOST:r HOST=${HOST:-$(hostname -s)} DOMAIN=${DOMAIN:-${$(hostname -d 2>&-):-$(hostname -y 2>&-)}} [ "$DOMAIN" = "" -o "$DOMAIN" = "localdomain" -o "$DOMAIN" = "(none)" ] && DOMAIN=$(grep "^search " /etc/resolv.conf | cut -d' ' -f2) -- cgit v1.2.3