diff options
author | Hugues Hiegel <hugues.hiegel@anevia.com> | 2017-06-30 14:33:59 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@anevia.com> | 2017-06-30 14:33:59 +0200 |
commit | 2f9cb6f18255cc7243a6ed2a0c452c1aee936fe1 (patch) | |
tree | 34a671bed74a02e5ebf00bd8150a3e1407f6dd7c /zshrc | |
parent | 549c79795996df04500fdd203b3722ba488b99fa (diff) |
Modifs en vracanevia
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ USER=${USER:-`whoami`} UID=${UID:-`id -u`} HOST=$HOST:r HOST=${HOST:-$(hostname -s)} -DOMAIN=$(hostname -a 2>&-| sed 's/^[^\.]*\.\?//') +DOMAIN=anevia.com # $(hostname -a 2>&-| sed 's/^[^\.]*\.\?//') DOMAIN=${DOMAIN:-$(hostname -d 2>&-)} DOMAIN=${DOMAIN:-$(hostname -y 2>&-)} [ "$DOMAIN" = "" -o "$DOMAIN" = "localdomain" -o "$DOMAIN" = "(none)" ] && DOMAIN=$(grep "^search " /etc/resolv.conf | cut -d' ' -f2) |