head	3.1;
branch	3.1.0;
access;
symbols;
locks;
comment	@# @;


3.1
date	96.10.30.23.41.13;	author hzoli;	state Exp;
branches
	3.1.0.0;
next	3.0;

3.0
date	96.10.30.23.39.35;	author hzoli;	state Exp;
branches
	3.0.1.0;
next	;

3.0.1.0
date	96.10.30.23.40.21;	author hzoli;	state Exp;
branches;
next	;

3.1.0.0
date	96.10.30.23.41.58;	author hzoli;	state Exp;
branches;
next	;


desc
@@


3.1
log
@# branch point
@
text
@# Start of cdmatch.
# Save in your functions directory and autoload, then do
# compctl -x 'S[/][~][./][../]' -g '*(-/)' - \
#         'n[-1,/], s[]' -K cdmatch -S '/' -- cd pushd
#
# Completes directories for cd, pushd, ... anything which knows about cdpath.
# You do not have to include `.' in your cdpath.
#
# It works properly only if $ZSH_VERSION > 3.0-pre4.  Remove `emulate -R zsh'
# for all other values of $ZSH_VERSION > 2.6-beta2. For earlier versions
# it still works if RC_EXPAND_PARAM is not set or when cdpath is empty.
emulate -R zsh
setopt localoptions
local narg pref cdp

read -nc narg
read -Ac pref

cdp=(. $cdpath)
reply=( ${^cdp}/${pref[$narg]%$2}*$2(-/DN^M:t:gs/ /\\\\ /) )

return
# End of cdmatch.
@


3.1.0.0
log
@# create 3.1.0 branch
@
text
@@


3.0
log
@# bounce the revision numbers to 3.0
@
text
@@


3.0.1.0
log
@# create 3.0.1 branch
@
text
@@
