changeset 169:2cc8820caae0

extend the distribution detection mechanism
author Dirk Olmes <dirk.olmes@codedo.de>
date Sat, 04 Apr 2020 03:17:41 +0200
parents 75e3f2d8368c
children 95e349996727
files zshrc-debian zshrc-linux-gnu
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zshrc-debian	Sat Apr 04 03:17:41 2020 +0200
@@ -0,0 +1,5 @@
+#
+# zshrc-debian: Debian specific initialization
+#
+
+# custom functions for Debian
--- a/zshrc-linux-gnu	Sat Apr 04 03:15:18 2020 +0200
+++ b/zshrc-linux-gnu	Sat Apr 04 03:17:41 2020 +0200
@@ -16,6 +16,8 @@
     linux_distro="gentoo"
 elif [ -f /etc/centos-release ]; then
     linux_distro="centos"
+elif [ -d /etc/apt ]; then
+	linux_distro="debian"
 fi
 
 # now source the distro zshrc file if it exists