zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Russell Hoover <rusty@panix.com>, Zsh-users <zsh-users@math.gatech.edu>
Subject: Re: Can I put a newline in an alias?
Date: Sun, 20 Jul 1997 10:07:30 -0700	[thread overview]
Message-ID: <970720100730.ZM4687@candle.brasslantern.com> (raw)
In-Reply-To: <19970720114142.29384@panix.com>

On Jul 20, 11:41am, Russell Hoover wrote:
} Subject: Re: Can I put a newline in an alias?
}
} [...] all I wanted was to be able to do something like
} hit 'c <return>' to clear the screen and have a filenames-only listing of
} the current dir at the top of the screen.

    function c() {
	echotc cl
	print -rc *(.)
    } 

} I was wondering more about what chars you'd use within an alias to represent 
} 'control-'

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

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~1997-07-20 17:25 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 [this message]
1997-07-22 20:42       ` Russell Hoover
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=970720100730.ZM4687@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=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).