diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2008-10-17 14:44:48 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-10-17 14:44:48 +0200 |
commit | 3e9aeabe6d34ce5aa92905960ed17bec3163a3e1 (patch) | |
tree | a83369d9776a5fc764c8591d197b47930481ade1 /zshrc | |
parent | afc096b5c329c91b125e0e043e544ce0e5948db7 (diff) |
Bug sur HOST dans l'adaptation iBook
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |