Path: utzoo!mnetor!uunet!mcvax!botter!ark!maart
From: maart@cs.vu.nl (Maarten Litmaath)
Newsgroups: comp.unix.wizards
Subject: Re: Emacs csh alias -- better solution than the first posted (2)
Message-ID: <1160@ark.cs.vu.nl>
Date: 8 Dec 87 16:55:49 GMT
References:  <1508@ogcvax.UUCP> <1159@ark.cs.vu.nl>
Reply-To: maart@cs.vu.nl (Maarten Litmaath)
Organization: VU Informatica, Amsterdam
Lines: 17
Keywords: this time really faster
Summary: this time really faster

Of course the alias had to be:

alias emacs \
'jobs > /tmp/jobs; grep emacs /tmp/jobs > /dev/null && fg %?emacs || /bin/emacs'
                                                           ^         ^^^^^
                                                           !         !!!!!
or

      !!
      vv
alias em \
'jobs > /tmp/jobs; grep emacs /tmp/jobs > /dev/null && fg %emacs || emacs'

Sorry.
-- 
Time flies like an arrow, fruit flies |Maarten Litmaath @ Free U Amsterdam:
like an orange.      (seen elsewhere) |maart@cs.vu.nl, mcvax!botter!ark!maart