From 0749034911b1e28d4d9abba5472201972a5e37ce Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 12 Oct 1999 09:30:35 +0000 Subject: zsh-workers/8217 --- Completion/Core/_path_files | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) (limited to 'Completion/Core/_path_files') diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index be3f36997..455de444d 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -1,27 +1,7 @@ #autoload -# Utility function for in-path completion. -# Supported arguments are: `-f', `-/', `-g ', `-J ', -# `-V ', `-W paths', `-X explanation', `-P prefix', `-S suffix', -# `-q', `-r remove-chars', `-R remove-func', and `-F '. All but -# the last have the same syntax and meaning as for `compgen' or -# `compadd', respectively. The `-F ' option may be used to give -# a list of suffixes either by giving the name of an array or -# literally by giving them in a string surrounded by parentheses. Files -# with one of the suffixes thus given are treated like files with one -# of the suffixes in the `fignore' array in normal completion. -# -# This function supports two configuration keys: -# -# path_expand -# If this is set to a non-empty string, the partially typed path -# from the line will be expanded as far as possible even if trailing -# pathname components can not be completed. -# -# path_cursor -# If this is set to an non-empty string, the cursor will be placed -# in the path after the ambiguous pathname component even when using -# menucompletion. +# Utility function for in-path completion. This allows `/u/l/b' +# to complete to `/usr/local/bin'. local linepath realpath donepath prepath testpath exppath local tmp1 tmp2 tmp3 tmp4 i orig pre suf tpre tsuf opre osuf cpre -- cgit 1.4.1