zsh-users
 help / color / mirror / code / Atom feed
From: Russell Hoover <rusty@panix.com>
To: Zsh-users <zsh-users@math.gatech.edu>
Subject: Re: Can I put a newline in an alias?
Date: Tue, 22 Jul 1997 16:42:16 -0400	[thread overview]
Message-ID: <19970722164216.39892@panix.com> (raw)
In-Reply-To: <970720100730.ZM4687@candle.brasslantern.com>; from Bart Schaefer on Sun 07/20/97 at 10:07 AM -0700

On Sun 07/20/97 at 10:07 AM -0700, Bart Schaefer <schaefer@brasslantern.com> wrote:

> There isn't any special syntax for that.  You just have to put the control
> characters in as themselves.

I'm not sure I understand.  I know  it would be very useful to be
able to put into aliases things like: 

1) a return at the end of the alias (so that I can type, say, a one-letter
alias and have the command, or series of commands, executed without having
to hit <return> after I type the alias.

2) a control sequence, like, say, <control-L>  I don't know what you would
put in an alias to make a control sequence. What would be an example? What
would one look like?

3) what would be the representation of any control character -- <return> ,
<tab>, <control-whatever>, <esc> -- how is any of these put into an alias?

Maybe if one wants to use such things that means it's time to start using
small scripts.

i guess I'm looking for a sort of QuicKeys for zsh . . .

-- 
                              // rusty@panix.com //

		A beautiful female body is the best kind of bed lamp. 
		  Sleeping side by side makes the night less opaque.
                           -- Malcolm de Chazal   Sens-Plastique


  reply	other threads:[~1997-07-22 20:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-20  1:51 Russell Hoover
1997-07-20  4:02 ` Bart Schaefer
1997-07-20 15:41   ` Russell Hoover
1997-07-20 17:07     ` Bart Schaefer
1997-07-22 20:42       ` Russell Hoover [this message]
1997-07-22 22:39         ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19970722164216.39892@panix.com \
    --to=rusty@panix.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).