view unixSoft/otherbin/emacs.sh @ 203:e2579eeb06ba

emacs: only set background color if in a window-system
author Augie Fackler <durin42@gmail.com>
date Mon, 03 May 2010 00:46:48 -0500
parents b403402153b5
children 7983184eb8d8
line wrap: on
line source

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