view unixSoft/otherbin/emacs.sh @ 327:7530d66758cb

emacs: prevent tramp from trying to be clever about PATH
author Augie Fackler <raf@durin42.com>
date Tue, 11 Mar 2014 13:53:02 -0400
parents b403402153b5
children 7983184eb8d8
line wrap: on
line source

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