diff options
l--------- | host:prunelle | 1 | ||||
-rw-r--r-- | zshrc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/host:prunelle b/host:prunelle new file mode 120000 index 0000000..484d76c --- /dev/null +++ b/host:prunelle @@ -0,0 +1 @@ +net:sweethome/host:prunelle
\ No newline at end of file @@ -30,6 +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:-$(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) |