* compctl for cd /nfs/
@ 1996-09-30 20:37 Scott RoLanD
0 siblings, 0 replies; only message in thread
From: Scott RoLanD @ 1996-09-30 20:37 UTC (permalink / raw)
To: zsh-users
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-09-30 20:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-30 20:37 compctl for cd /nfs/ Scott RoLanD
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).