# Initialisation for new style completion. This mainly contains some helper # function and aliases. Everything else is split into different files in this # directory that will automatically be made autoloaded (see the end of this # file). # The names of the files that will be considered for autoloading have to # start with two underscores (like `__setopt). # The first line of these files will be read and has to say what should be # done with its contents: # # `#function ' # 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 is given # # `#array ' # with a first line like this, the filename is taken as # the name of an array; when trying to generate matches # for the command , the file will be sourced and # should define this array, the builtin `complist' will # then be called with the elements of this array as its # arguments; this is intended for simple definitions # for which you don't need a shell function # # `#pattern-function ' # this defines a function that should be called to generate # matches for commands whose name matches ; note # that only one pattern may be given # # `#pattern-array ' # like `#pattern-function' but defining an array # # `#key-function