diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-15 15:31:06 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-06-15 15:31:06 +0200 |
commit | 17c17e25f6d14c40aa8521858c03266d027e035c (patch) | |
tree | 7849c2fddbdbc85cd045edfa230b984efc24c803 /etc/rc | |
parent | 36ce5cecdbc44d05700d6a264f1ae91a10b23da4 (diff) |
etc/rc: Also check whether we are on debian
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |