zsh-users
 help / color / mirror / code / Atom feed
From: Phil Pennock <Phil.Pennock@globnix.org>
To: Eric Smith <es@fruitcom.com>
Cc: zsh-users@sunsite.dk
Subject: Re: forcing a carriage return with alias -g
Date: Sun, 24 Nov 2002 22:31:20 +0100	[thread overview]
Message-ID: <20021124223120.A17359@globnix.org> (raw)
In-Reply-To: <20021124180405.GG9881@cherry.fruitcom.com>; from es@fruitcom.com on Sun, Nov 24, 2002 at 07:04:05PM +0100

On 2002-11-24 at 19:04 +0100, Eric Smith wrote:
> I use aliases of the following form:
> 
> alias -g M='|more'
> 
> Is it possible to force a carriage return after the `more' so that I may just
> press (say) `M' and the command will execute?

bindkey -s M '|more\n'

-- 
"We've got a patent on the conquering of a country through the use of force.
 We believe in world peace through extortionate license fees." -Bluemeat



  reply	other threads:[~2002-11-24 21:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-24 18:04 Eric Smith
2002-11-24 21:31 ` Phil Pennock [this message]
2002-11-24 22:17   ` Eric Smith

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=20021124223120.A17359@globnix.org \
    --to=phil.pennock@globnix.org \
    --cc=es@fruitcom.com \
    --cc=zsh-users@sunsite.dk \
    /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).