## 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 }