summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
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