# HG changeset patch # User Dirk Olmes # Date 1322643942 -3600 # Node ID db85a076d8aea7090b7378300a932b3779643ba1 # Parent ff5e785e7bf7699117ab63bedd2857c3ee0b587f# Parent 4263bbc594fe45efa145ce67ec6c999c3fbc1cdf Automated merge with https://xanthippe/hg/zsh-env diff -r ff5e785e7bf7 -r db85a076d8ae zshrc --- a/zshrc Wed Nov 30 03:52:47 2011 +0100 +++ b/zshrc Wed Nov 30 10:05:42 2011 +0100 @@ -41,6 +41,9 @@ echo "${clean_path}" } +# $HOST can either be just the host name or the FQDN. Standardize on the raw host name +export HOST=`echo $HOST | awk -F '.' '{ print $1 }'` + # include a zshrc per OS type local os_zshrc=$HOME/.zsh-env/zshrc-$OSTYPE if [ -f ${os_zshrc} ]; then