# HG changeset patch # User Dirk Olmes # Date 1393919683 -3600 # Node ID fa52868da3d4c4594febd279b73950c41925ece3 # Parent 2206bf6b1157734f840691cf19d5d1929c136064 add detection for CentOS diff -r 2206bf6b1157 -r fa52868da3d4 zshrc-linux-gnu --- 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