about summary refs log tree commit diff
path: root/Completion/Core/_path_files
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-12 09:30:35 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-12 09:30:35 +0000
commit0749034911b1e28d4d9abba5472201972a5e37ce (patch)
treece317515d8eaea842255956248a6f8b6b3b18145 /Completion/Core/_path_files
parent0f348a6282c85b6097f4a268a4a36da2dd3ead2b (diff)
downloadzsh-0749034911b1e28d4d9abba5472201972a5e37ce.tar.gz
zsh-0749034911b1e28d4d9abba5472201972a5e37ce.tar.xz
zsh-0749034911b1e28d4d9abba5472201972a5e37ce.zip
zsh-workers/8217
Diffstat (limited to 'Completion/Core/_path_files')
-rw-r--r--Completion/Core/_path_files24
1 files changed, 2 insertions, 22 deletions
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 <patterns>', `-J <group>',
-# `-V <group>', `-W paths', `-X explanation', `-P prefix', `-S suffix',
-# `-q', `-r remove-chars', `-R remove-func', and `-F <ignore>'. All but 
-# the last have the same syntax and meaning as for `compgen' or
-# `compadd', respectively. The `-F <ignore>' 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<TAB>'
+# 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