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