Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: forcing a carriage return with alias -g



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