Thursday, December 02, 2004

Multiple commands in a single line

I have just modified BTQueue to allow specifying multiple commands in a single line separated by semicolon (;). This feature is also available in alias so you can write simple procedure by yourself. Note that you have to quote semicolon if you want it being interpreted as normal character like before. For example, see below alias.

alias -s super_detail "detail %(arg1)s;spew %(arg1)s"


super_detail will call detail followed by spew.

No comments: