From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18451 invoked from network); 12 Feb 2001 20:42:05 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Feb 2001 20:42:05 -0000 Received: (qmail 25117 invoked by alias); 12 Feb 2001 20:41:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13456 Received: (qmail 25080 invoked from network); 12 Feb 2001 20:41:50 -0000 Date: Mon, 12 Feb 2001 20:41:47 +0000 From: Adam Spiers To: zsh workers mailing list Subject: bug in directory completion with tilde expansion? Message-ID: <20010212204147.A31828@thelonious.new.ox.ac.uk> Reply-To: Adam Spiers Mail-Followup-To: zsh workers mailing list Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i X-Home-Page: http://www.new.ox.ac.uk/~adam/ X-OS: RedHat Linux My funny combination of option settings strike again ... This time the culprit seems to be glob_complete: $ zsh -f $ echo $ZSH_VERSION 3.1.9-dev-8 $ autoload compinit; compinit $ ls ~/soft $ ls ~/software/ <-- OK, trailing slash $ setopt glob_complete $ ls ~/soft $ ls ~/software <-- broken, no trailing slash The problem only exists for completion of tilde-prefixed paths. I've no idea why I originally chose to switch on some of the esoteric options I have, but seeing as they unearth obscure bugs now and again, I think I'll keep them :-) Incidentally, doing a `setopt noglob' completely breaks the completion system.