view unixSoft/otherbin/emacs.sh @ 505:b78aa03c0c00

zshrc: silence noisy which(1) implementations Some of them like to write to stdout, fun.
author Augie Fackler <raf@durin42.com>
date Sat, 21 Nov 2020 21:02:02 -0500
parents b403402153b5
children 7983184eb8d8
line wrap: on
line source

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