Mercurial > hg > zsh-env
changeset 42:fa52868da3d4
add detection for CentOS
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 04 Mar 2014 08:54:43 +0100 |
parents | 2206bf6b1157 |
children | 9fa883dc39e0 |
files | zshrc-linux-gnu |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/zshrc-linux-gnu Mon Dec 16 08:57:34 2013 +0100 +++ b/zshrc-linux-gnu Tue Mar 04 08:54:43 2014 +0100 @@ -14,6 +14,8 @@ local linux_distro="unknown" if [ -d /usr/portage ]; then linux_distro="gentoo" +elif [ -f /etc/centos-release ]; then + linux_distro="centos" fi # now source the distro zshrc file if it exists