From e40d5f133fc50e5f26a32064627aca8a551df939 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 2 Apr 2001 12:24:21 +0000 Subject: moved to ./Functions/Compctl/cdmatch --- Functions/Misc/cdmatch | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 Functions/Misc/cdmatch (limited to 'Functions/Misc') diff --git a/Functions/Misc/cdmatch b/Functions/Misc/cdmatch deleted file mode 100755 index 7c4bb9ae7..000000000 --- a/Functions/Misc/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