From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1698 invoked from network); 30 Mar 2000 10:05:04 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Mar 2000 10:05:04 -0000 Received: (qmail 27508 invoked by alias); 30 Mar 2000 10:04:15 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2991 Received: (qmail 27489 invoked from network); 30 Mar 2000 10:04:12 -0000 Sender: jean-baptiste.marchand@epita.fr To: zsh-users@sunsite.auc.dk Subject: zle questions From: jean-baptiste.marchand@epita.fr (jean-baptiste.marchand) Date: 30 Mar 2000 12:02:57 +0200 Message-ID: <874s9ovkq6.fsf@garbarek.sr.epita.fr> User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi, I've been using zsh-3.1.6 since a few weeks. I've two questions about everyday usage : 1) I like the menu completion feature (not complist) but I've still haven't found how to stop the completion when I've found the file I'm interested in : mylogin@mymachine ~> ls / then TAB and zsh cycles trough the directories of / If I choose /usr, I would like to hit a key to tell zsh to stop the completion, put /usr/ on the command-line and continue the menu completion in /usr I thought the zle function accept-and-menu-complete could do the job but instead, it inserts the current completion followed by a space... 2) Is it possible in zle to specify word boundaries when using backward-kill-word ? In GNU Bash, you can do the following : mylogin@mymachine ~> ls /usr/X11R6/bin and if you want to execute 'ls' in '/usr/X11R6/' instead of '/usr/X11R6/bin', you would hit ^W and it would kill the word '/bin'. Instead, Zsh kills the whole '/usr/X11R6/bin'. It is because GNU Bash recognizes '/' as a word boundary by default. I found this feature quite interesting but maybe there is another way to do this easily. Thanks for your help. Jean-Baptiste Marchand -- Jean-Baptiste.Marchand@epita.fr Real Unix Books are written with Troff (W. Richard Stevens)