From 8d1b4b1358db02d6c9426e4bb3553583e11bf112 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 12 Aug 1999 22:59:04 +0000 Subject: Sync up with zsh-3_1_6-pws-1. --- Functions/cdmatch | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 Functions/cdmatch (limited to 'Functions/cdmatch') diff --git a/Functions/cdmatch b/Functions/cdmatch deleted file mode 100755 index 7c4bb9ae7..000000000 --- a/Functions/cdmatch +++ /dev/null @@ -1,23 +0,0 @@ -# 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) ) - -return -# End of cdmatch. -- cgit 1.4.1