view unixSoft/otherbin/emacs.sh @ 416:eece3dcdd013

emacs: rustfmt on saving a rust file
author Augie Fackler <raf@durin42.com>
date Sun, 11 Sep 2016 15:41:57 -0400
parents b403402153b5
children 7983184eb8d8
line wrap: on
line source

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