From 17c17e25f6d14c40aa8521858c03266d027e035c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 15 Jun 2008 15:31:06 +0200 Subject: etc/rc: Also check whether we are on debian --- etc/rc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc/rc') diff --git a/etc/rc b/etc/rc index 6225e4d..adcb65c 100644 --- a/etc/rc +++ b/etc/rc @@ -3,10 +3,12 @@ ## mostly internal stuff ZDIR=$HOME/packages/zsh/etc uname=$(uname) +debian=$(fgrep Debian /proc/version) alias 'linux:'='[ $uname = Linux ] &&' alias 'non-linux:'='[ $uname = Linux ] ||' alias 'ls-colors:'='which dircolors &> /dev/null &&' alias 'openbsd:'='[ $uname = OpenBSD ] &&' +alias 'debian:'='[ -n "$debian" ] &&' ## include the actual config source $ZDIR/modules -- cgit v1.2.3