From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2984 invoked from network); 29 Sep 1997 05:39:08 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 29 Sep 1997 05:39:08 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id BAA21123; Mon, 29 Sep 1997 01:32:00 -0400 (EDT) Resent-Date: Mon, 29 Sep 1997 01:31:18 -0400 (EDT) Message-Id: <199709290331.WAA13616@larissa.cs.trinity.edu> Subject: How do I get completion to only match certain types of files Date: Sun, 28 Sep 97 22:31:36 -0700 x-mailer: Claris Emailer 2.0v2, June 6, 1997 From: Gregory Gerard To: "ZSH Users List" Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Resent-Message-ID: <"OQF7w2.0.F95.bqpBq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1041 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I would like to restrict the 'cd' command so that it can only complete directories (or shell variables). Other file types (like links, devices, etc.) would be gravy, but not necessary. I could do the restriction in tcsh, but tcsh has other problems that caused me to switch to zsh. While browsing the man page, I saw I could restrict to named directories, but that's not really a help. Am I missing something in the docs? thanks for the help, greg