jym@PREP.AI.MIT.EDU (Jym Dyer) (09/09/88)
Here's a single alias: alias e 'alias e %emacs; emacs' <_Jym_>
dsill@NSWC-OAS.ARPA (Dave Sill) (09/23/88)
Terry V. Bush <silvlis.UUCP!tvb%eddie.mit.edu.uucp@bbn.com> writes: >[C-shell script for foregrounding or executing emacs as required.] I use almost the same approach, but I found an alias that does it faster. Here it is: alias em \ 'jobs >! /tmp/jobs$$; grep emacs /tmp/jobs$$ > /dev/null && fg %?emacs || \ /local/bin/emacs' ========= "Computers should work the way beginners expect them to, and one day they will." -- Ted Nelson