Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: shell script that replaces the command line
- X-seq: zsh-workers 32773
- From: Dave Yost <Dave@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: shell script that replaces the command line
- Date: Fri, 13 Jun 2014 00:22:15 -0700
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:mime-version:subject:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hrjukOm++gvsp41Q3nYUCdOOyP8XhTYN0CXkFIvHfx0=; b=oRUk9tdUz0MSf+yDz/BhrrSkgq1CvwliTY0hmtXgEfFS1MbnyNiLRxlzYbCDf6d7r7 QGU8hk6/6ShDDfWGvzk/C+jIscoVbpyhKlthYCy4kKxMxu6yfGLk3zZ/wBaDS2lIdDAU NFKHpic6RMdSUckFPHIVgtTnjqPOTSMGjDgBOpGdUyQRcrxdiyX5ygxjP/NNQU1I16H6 ZeeaRySeM4FolG7fYxMbjdCmVjz7PMv91rY4imp8BydvPtfVGDY/06EdVDb1muRzgbIO CXfbYncpfPZLhoAwjCQ9hPV7jK/ScZGpV3BJVA19GGoENfmIXoDY7VJoexnHUmZTmGya 4dHA==
- In-reply-to: <140612234011.ZM4768@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <5804CF24-1E69-4FD3-832C-4B642B010F86@yost.com> <140612234011.ZM4768@torch.brasslantern.com>
- Sender: Dave Yost <daveyostcom@xxxxxxxxx>
It would be good if "buffer stack" were in the index of the doc, and it would be good if the PDF form of the doc had internal hyperlinks.
On Thu 2014-06-12, at 11:40 PM, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Jun 12, 4:07pm, Dave Yost wrote:
> } Subject: shell script that replaces the command line
> }
> } Can a shell function replace the command line contents? I know a
> } widget can do it, but I can't see a way for a shell function to do
> } that.
>
> The "print -z ..." command loads the buffer stack, which is then popped
> into the editor buffer at the next prompt (e.g., after the calling
> function/script exits).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author