view unixSoft/otherbin/emacs.sh @ 135:de6d0a9a7e3f

path_manipulation: more flexible so it can be used on non-PATH items
author Augie Fackler <durin42@gmail.com>
date Tue, 18 Aug 2009 13:43:57 -0500
parents b403402153b5
children 7983184eb8d8
line wrap: on
line source

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