From c8f71a2dfab6520a929e7d5f1304ece7d8223fbf Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Thu, 21 Jun 2001 09:24:17 +0000 Subject: Fix exit status of compdef. --- ChangeLog | 4 + Completion/compinit | 496 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 500 insertions(+) create mode 100644 Completion/compinit diff --git a/ChangeLog b/ChangeLog index 5a9cae767..b7e14e29b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-06-21 Bart Schaefer + + * 15018: Completion/compinit: Fix exit status of compdef. + 2001-06-20 Bart Schaefer * 14880: Completion/Base/Core/_main_complete: Fix insert-tab style diff --git a/Completion/compinit b/Completion/compinit new file mode 100644 index 000000000..bd879b11c --- /dev/null +++ b/Completion/compinit @@ -0,0 +1,496 @@ +# 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. +# +# `#compdef -p ' +# 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