view unixSoft/otherbin/emacs.sh @ 387:cf3b1ba01e69

hg egrep: ensure we're in the repo root before running grep
author Augie Fackler <raf@durin42.com>
date Mon, 01 Feb 2016 17:28:25 -0500
parents b403402153b5
children 7983184eb8d8
line wrap: on
line source

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