zsh-users
 help / color / mirror / code / Atom feed
From: shr@s3.com (Scott RoLanD)
To: zsh-users@math.gatech.edu
Subject: compctl for cd /nfs/
Date: Mon, 30 Sep 1996 13:37:48 -0700 (PDT)	[thread overview]
Message-ID: <9609302037.AA12130@s3> (raw)

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


                 reply	other threads:[~1996-09-30 20:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9609302037.AA12130@s3 \
    --to=shr@s3.com \
    --cc=zsh-users@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).