From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id GAA01156 for ; Tue, 1 Oct 1996 06:56:28 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id QAA19731; Mon, 30 Sep 1996 16:44:39 -0400 (EDT) Resent-Date: Mon, 30 Sep 1996 16:42:42 -0400 (EDT) From: shr@s3.com (Scott RoLanD) Message-Id: <9609302037.AA12130@s3> Subject: compctl for cd /nfs/ To: zsh-users@math.gatech.edu Date: Mon, 30 Sep 1996 13:37:48 -0700 (PDT) X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"LCJ5i2.0.Sp4.133Ko"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/429 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'd like to setup cd so that it would tab complete through /nfs/foo driectories. If I setup a variable hosts like: hosts=(cleo calico) Where cleo and calico are actually local machines that are NFS mounted at /nfs/cleo/ and nfs/calico/. I would like to be able to tab complete from /nfs/c and once I choose /nfs/cleo/ be able to tabe complete on.. I currently have: compctl -g '*(-/)' -x 's[/nfs/]' -k hosts -S '/' -- cd pushd which allows me to complete normal directories and /nfs/, but once it completes /nfs/cleo/ it won't keep on going... I thought I had it working with something like: compctl -g '*(-/)' -x 'n[-1,/nfs/]' -k hosts -S '/' -- cd pushd but that doesn't work now.... $ZSH_VERSION="3.0.0-gjb" TIA, roland