From c7927ea61730bd6d8a283078d89dffdca08535cd Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 12 Nov 2009 22:02:20 +0100 Subject: Merge stuff into .zshrc --- etc/osdetect | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 etc/osdetect (limited to 'etc/osdetect') 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 -} -- cgit v1.2.3