view unixSoft/otherbin/emacs.sh @ 255:0f226b0af88a

zsh: support for editing current command in $EDTIOR
author Augie Fackler <durin42@gmail.com>
date Thu, 13 Jan 2011 12:44:12 -0600
parents b403402153b5
children 7983184eb8d8
line wrap: on
line source

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