summaryrefslogtreecommitdiff
path: root/etc/osdetect
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-11-12 22:02:20 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-11-12 22:02:20 +0100
commitc7927ea61730bd6d8a283078d89dffdca08535cd (patch)
tree2f6098a2aa4070d9d35c6a4c1cf9614a8da9c0f6 /etc/osdetect
parentd3d4767fb5ba7e036cdbb8e351f678e54e95078f (diff)
Merge stuff into .zshrc
Diffstat (limited to 'etc/osdetect')
-rw-r--r--etc/osdetect11
1 files changed, 0 insertions, 11 deletions
diff --git a/etc/osdetect b/etc/osdetect
deleted file mode 100644
index 91a7c8a..0000000
--- a/etc/osdetect
+++ /dev/null
@@ -1,11 +0,0 @@
-## vim:ft=zsh
-# for system-specific setup
-system=${$(uname):l}
-alias 'linux:'='[[ $system == linux ]] &&'
-alias 'openbsd:'='[[ $system == openbsd ]] &&'
-if [[ $system == linux ]] {
- [[ -f /etc/debian_version ]] && distro=debian
- [[ -f /etc/gentoo-release ]] && distro=gentoo
- [[ -f /etc/arch-release ]] && distro=arch
- [[ -f /etc/redhat-release ]] && distro=redhat
-}