From f19725573d11247b4e63ec5ec3f30802adf37091 Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Thu, 21 Jun 2007 02:45:56 +0000 Subject: Merge of 21880: add carriage return to IFS in completion context. --- Completion/compinit | 514 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 514 insertions(+) create mode 100644 Completion/compinit (limited to 'Completion/compinit') diff --git a/Completion/compinit b/Completion/compinit new file mode 100644 index 000000000..f330f4ae0 --- /dev/null +++ b/Completion/compinit @@ -0,0 +1,514 @@ +# Initialisation for new style completion. This mainly contains some helper +# functions and setup. Everything else is split into different files that +# will automatically be made autoloaded (see the end of this file). The +# names of the files that will be considered for autoloading are those that +# begin with an underscores (like `_condition). +# +# The first line of each of these files is read and must indicate what +# should be done with its contents: +# +# `#compdef ' +# If the first line looks like this, the file is autoloaded as a +# function and that function will be called to generate the matches +# when completing for one of the commands whose are given. +# The names may also be interspersed with `-T ' options +# specifying for which set of functions this should be added. +# +# `#compdef -[pP] ' +# This defines a function that should be called to generate matches +# for commands whose name matches . Note that only one pattern +# may be given. +# +# `#compdef -k