Mercurial > hg > zsh-env
comparison zshrc @ 8:db85a076d8ae
Automated merge with https://xanthippe/hg/zsh-env
| author | Dirk Olmes <dirk@xanthippe.ping.de> |
|---|---|
| date | Wed, 30 Nov 2011 10:05:42 +0100 |
| parents | ff5e785e7bf7 4263bbc594fe |
| children | 7364a3399187 |
comparison
equal
deleted
inserted
replaced
| 6:ff5e785e7bf7 | 8:db85a076d8ae |
|---|---|
| 39 fi | 39 fi |
| 40 done | 40 done |
| 41 echo "${clean_path}" | 41 echo "${clean_path}" |
| 42 } | 42 } |
| 43 | 43 |
| 44 # $HOST can either be just the host name or the FQDN. Standardize on the raw host name | |
| 45 export HOST=`echo $HOST | awk -F '.' '{ print $1 }'` | |
| 46 | |
| 44 # include a zshrc per OS type | 47 # include a zshrc per OS type |
| 45 local os_zshrc=$HOME/.zsh-env/zshrc-$OSTYPE | 48 local os_zshrc=$HOME/.zsh-env/zshrc-$OSTYPE |
| 46 if [ -f ${os_zshrc} ]; then | 49 if [ -f ${os_zshrc} ]; then |
| 47 . ${os_zshrc} | 50 . ${os_zshrc} |
| 48 fi | 51 fi |
