#!/bin/sh if [[ -f ~/.`hostname`.zsh ]] ; then eaf ~/.`hostname`.zsh else cat <<EOF > ~/.`hostname`.zsh # -*- shell-script -*- # $(hostname) specific configuration echo "You are on $(hostname -s) EOF eaf ~/.`hostname`.zsh fi