summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-15 15:31:06 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-15 15:31:06 +0200
commit17c17e25f6d14c40aa8521858c03266d027e035c (patch)
tree7849c2fddbdbc85cd045edfa230b984efc24c803 /etc/rc
parent36ce5cecdbc44d05700d6a264f1ae91a10b23da4 (diff)
etc/rc: Also check whether we are on debian
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc2
1 files changed, 2 insertions, 0 deletions
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