#!/usr/local/bin/andy test -t 2 && set mode t || set mode c exec emacsclient -s ec -$mode