From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20762 invoked from network); 25 Oct 2003 03:02:27 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Oct 2003 03:02:27 -0000 Received: (qmail 25559 invoked by alias); 25 Oct 2003 03:02:04 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6735 Received: (qmail 25465 invoked from network); 25 Oct 2003 03:02:03 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 25 Oct 2003 03:02:03 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [200.176.3.18] by sunsite.dk (MessageWall 1.0.8) with SMTP; 25 Oct 2003 3:2:3 -0000 Received: from tucuriba.terra.com.br (tucuriba.terra.com.br [200.176.3.53]) by paiol.terra.com.br (Postfix) with ESMTP id A18D38481E6 for ; Sat, 25 Oct 2003 01:02:00 -0200 (BRST) Received: from 192.168.1.3 (200-102-139-225.paemt7011.dsl.brasiltelecom.net.br [200.102.139.225]) (authenticated user hisham@terra.com.br) by tucuriba.terra.com.br (Postfix) with ESMTP id 5B1AF26419D for ; Sat, 25 Oct 2003 01:02:00 -0200 (BRST) From: Hisham Muhammad To: zsh-users@sunsite.dk Subject: How to make tab add quotes on expansion? Date: Sat, 25 Oct 2003 01:00:12 -0200 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310250100.12757.hisham@apple2.com> Hello zsh users and developers, I am a developer of the GoboLinux distribution (http://www.gobolinux.org) which is, AFAIK, the only Linux distro where zsh is the default shell. I prepared a custom default zshrc, suited for the distro's needs (featuring case insensitive matching, because of our verbose names, such as /Programs/XFree86/Settings and other niceties) and all users seem to love it... zsh gets lots of praise in the GoboLinux mailing list! There is one thing, however, that I could not find out how to configure: I'd like to have tab-completion to add double quotes to words when the completed word has spaces in it (instead of having it add a backslash on each space). So that it would do this: hisham@aria ~] mpg123 01 hisham@aria ~] mpg123 "01 - Tom Sawyer.mp3" instead of hisham@aria ~] mpg123 01 hisham@aria ~] mpg123 01\ -\ Tom\ Sawyer.mp3 I know there's probably something simple I am missing, but I read the man pages, the FAQs and mailing list archives and haven't found out yet. Thanks in advance, -- Hisham Muhammad "Embrace the change."