diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-12 22:02:20 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-11-12 22:02:20 +0100 |
commit | c7927ea61730bd6d8a283078d89dffdca08535cd (patch) | |
tree | 2f6098a2aa4070d9d35c6a4c1cf9614a8da9c0f6 /etc/osdetect | |
parent | d3d4767fb5ba7e036cdbb8e351f678e54e95078f (diff) |
Merge stuff into .zshrc
Diffstat (limited to 'etc/osdetect')
-rw-r--r-- | etc/osdetect | 11 |
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 -} |