From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7827 invoked from network); 25 Nov 1998 23:23:26 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 25 Nov 1998 23:23:26 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id SAA15806; Wed, 25 Nov 1998 18:22:18 -0500 (EST) Resent-Date: Wed, 25 Nov 1998 18:22:18 -0500 (EST) Date: Wed, 25 Nov 1998 23:15:35 +0000 From: Paul Moore To: zsh-workers@math.gatech.edu Subject: Line editor - "get word from history" Message-ID: <19981125231534.A735@morpheus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.94.15i Resent-Message-ID: <"C8JJe2.0.ss3.g49Ns"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4688 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I was reading an article on the WWW recently, which compared various shells. One feature of tcsh which was commented on favourably was the history stuff. Two particular features I liked: 1. A keypress to move to a previous history line which matched what you had typed so far on the line. Zsh has this, in history-beginning-search- backward (although I'd prefer this if it moved the cursor to the end of the line, but retained knowledge of the part I had typed, so that I could continue backwards matching what I had typed, or stop and add to the end of the line). 2. A keypress to complete the current word, using the words in previous history lines - imagine mkdir a-very-long-name cd a- I looked in the zsh documentation I have (not totally up-to-date) and could find nothing like (2). Is it available in the latest version, and if not, is there any chance of it being added? Thanks, Paul Moore.