From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9367 invoked from network); 18 Aug 1998 22:52:52 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 18 Aug 1998 22:52:52 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id SAA20899; Tue, 18 Aug 1998 18:46:12 -0400 (EDT) Resent-Date: Tue, 18 Aug 1998 18:45:57 -0400 (EDT) X-Face: 3su_O5R!|})4gc|&nXdVILe~2hIncsaJF_TC>rnR NA0Aj-u\*nln*:ktY!d+[%K()Q|1*-U [+xczKd$Xev:F#3'rFgot\l.I+w>DQ%:%HOyZ]EgFw@0[gMFsR-E`Hs~tjkc>y.i#y<55R_CScR To: zsh-users@math.gatech.edu (Zsh users list) Subject: Re: zsh - new user with questions In-Reply-To: Peter Stephenson's message of "Tue, 18 Aug 1998 18:28:45 +0200" References: <199808181628.SAA21807@hydra.ifh.de> From: David Hedbor Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 18 Aug 1998 15:46:46 -0700 Message-ID: <86ww85x609.fsf@animearchive.org> X-Mailer: Gnus v5.6.37/XEmacs 20.4 - "Emerald" Resent-Message-ID: <"i-b9J1.0.q55.bGWsr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1733 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Peter Stephenson writes: > need to handle .'s in the way /'s are handled there. Ignoring case > may happen one day, but I doubt there's ever going to be a built-in > way of saying 'look and see if there are any characters preceeding a > dot to be added earlier on in the completion'. Maybe you would be > interested in the options automenu and menucomplete. You'll have > to find the shift key, however. Do 'setopt automenu', type R, > and hit tab until it works. I am having similar problems, but with /. Example with bash (^ denotes the location of the cursor): bash-2.01$ ls /usr/loc/bi ^ Pressing tab gives: bash-2.01$ ls /usr/local/bi ^ With zsh: ls /usr/loc/bi => beep ^ ls /usr/loc/bin => /usr/local/bin/ ^ ^ ls /usr/loc/bin/ => /usr/local/bin// ^ ^ So problem one is that local is not expanded if the path segment after it doesn't exist. The second problem is that zsh adds a "/" at the end of the path - always. I'd prefer if it didn't add one at all or at least just one (the infinite number of added slashes is clearly a bug). The third problem is something that often bites me hard: bash: ls /usr/lobin => /usr/local/bin ^ bash: ls /usr/lobin => beep ^ Ie zsh can't complete the path if the cursor is not on a slash. It would be really nice if it completed from the character it was on, even if it's not a slash. This it he last "grudge" I have against zsh since switching from bash. -- David Hedbor