#!/bin/sh . /etc/profile if [ -z $EMACS ]; then emacs --daemon /usr/bin/emacsclient -t else /bin/bash fi