From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15798 invoked by alias); 18 Apr 2014 21:33:17 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32565 Received: (qmail 28848 invoked from network); 18 Apr 2014 21:33:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=oVDQAR3noFUXbWrEiKPOFjmXyPDuSy3EtkJsfkGzZzA=; b=o2nXG0LIdlVpkPT0i7HDnpaMEX9+qMkV+roK0SWDoBg4X8NPN1XR2nE/hdjEZy6snv p1g2jvGnUKsjrozgWqW5iedg17tBOzyrHkmMteBqZ1lGfyrbvgu7NyINJDN5KGl5KQJr lVnI3YC+2NabTYtgAPOB/68n4Itewg28izYEF+uT5zXeK47l4s9JMv983N8qYMb7Pn9P XfkmUkNf4QkSVXaoC/gTdSlgHLs+BRbPHWK4sDZjXTOGhUehpO6W46Y1YCX/LRL99d3g nz6z3qkF9jZI4FRVOkiFedJWtO7NhdGoV8IkenXDEq3dZUdCoiw7bbiiZF50mZ/2Hgt2 SWlA== X-Received: by 10.15.10.3 with SMTP id f3mr24507927eet.1.1397850599835; Fri, 18 Apr 2014 12:49:59 -0700 (PDT) Sender: Dave Yost From: Dave Yost Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: function to replace the command line text Message-Id: Date: Fri, 18 Apr 2014 12:49:57 -0700 To: zsh-workers@zsh.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1877.9\)) X-Mailer: Apple Mail (2.1877.9) Is there a builtin function that replaces the command line with the = function's output? The completion mechanism must use such a function, so = there has to be something like that. I want to use that function to build a function I can use to run a demo = consisting of a sequence of commands. * Make an array of strings * For each step of the demo * Type a command or a keyboard shortcut that grabs the next string = from the array and places it on the command line * Hit Enter to execute the command Thanks=