From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10019 invoked from network); 4 Dec 2003 14:55:07 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Dec 2003 14:55:07 -0000 Received: (qmail 17987 invoked by alias); 4 Dec 2003 14:54:42 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6836 Received: (qmail 17940 invoked from network); 4 Dec 2003 14:54:42 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 4 Dec 2003 14:54:42 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 4 Dec 2003 14:54:41 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ARusL-00084z-00 for ; Thu, 04 Dec 2003 15:54:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARusK-00084r-00 for ; Thu, 04 Dec 2003 15:54:40 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ARusK-0006n6-00 for ; Thu, 04 Dec 2003 15:54:40 +0100 From: zzapper Subject: Why doesn't cd ignore files when you type say "cd fred*" Date: Thu, 04 Dec 2003 14:54:35 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news Hi Y'All Why doesn't cd ignore files when you type say "cd fred*" and there exists a file frederick.txt and a directory frederick ?? I guess it's becauses the FNG handling fred* doesn't know that it's output is to be passed to cd . But can clever zsh be configued to avoid this behaviour. Could I tell cd to ignore files ending say .html,.txt etc zzapper -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips