view unixSoft/otherbin/emacs.sh @ 44:9a3af00d8eaa

Add emacsclient as $EDITOR to editorsetup.
author Augie Fackler <durin42@gmail.com>
date Mon, 09 Feb 2009 10:20:16 -0600
parents b403402153b5
children 7983184eb8d8
line wrap: on
line source

#!/bin/sh
if [ "`uname`" = "Darwin" ] ; then
    open -a emacs "$@"
else
    emacs -nw "$@"
fi