Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: forcing a carriage return with alias -g
- X-seq: zsh-users 5512
- From: Phil Pennock <Phil.Pennock@xxxxxxxxxxx>
- To: Eric Smith <es@xxxxxxxxxxxx>
- Subject: Re: forcing a carriage return with alias -g
- Date: Sun, 24 Nov 2002 22:31:20 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20021124180405.GG9881@xxxxxxxxxxxxxxxxxxx>; from es@xxxxxxxxxxxx on Sun, Nov 24, 2002 at 07:04:05PM +0100
- Mail-followup-to: Eric Smith <es@xxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20021124180405.GG9881@xxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author