[NCLUG] bash alias

Daniel Herrington daniel.herrington at home.com
Wed Oct 17 17:00:50 MDT 2001


Thanks, Aaron.  That seemed to do the trick.

Daniel


=> Replying to Aaron D. Johnson's message, "Re: [NCLUG] bash alias "
=> (sent Oct 17 @ 16:34 -0600):
 > In message <15310.1310.289581.54060 at harrier.ftc.agilent.com>, Daniel Herrington writes
 > > I use tcsh most of the time.  I have an alias for xemacs so that I can 
 > > just type "xe <file>" and it starts xemacs and puts it in the
 > > background.  The alias I use for this is the following:
 > > 
 > > alias xe  'xemacs \!* &' 
 > > 
 > > How would I do the same thing in bash?
 > 
 > I'd do:
 > 
 >     xe () { xemacs $* & }
 > 
 > Which makes xe a shell function rather than an alias, but it works
 > just the same.



More information about the NCLUG mailing list